FileSystem.getShortPathName() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to FileSystem Class Summary

Availability
Windows

Usage
mdm.FileSystem.getShortPathName(path:String):String

Parameters
path:String - Path to a file or folder to convert

Returns
A String

Description
Converts the specified long filename to a DOS 8.3 filename.

Notes
Information on long filenames can be found HERE
Information on DOS 8.3 filenames can be found HERE

Example Code
var myShortPath:String = mdm.FileSystem.getShortPathName("C:\\Program Files");
///This example would return something like:
//"C:\\PROGRA~1"

mdm.FileSystem Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page