Function Reference

FileGetShortName

Returns the 8.3 short path+name of the path+name passed.

FileGetShortName ( "file" )

 

Parameters

file full path and file name to convert

 

Return Value

Success: Returns the 8.3 short path+name of the path+name passed.
Failure: Returns the parameter and sets @error to 1.

 

Remarks

None.

 

Related

FileGetLongName

 

Example


$a = FileGetShortName("C:\Program Files")
;$a is probably "C:\PROGRA~1"