Returns the long path+name of the path+name passed.
FileGetLongName ( "file" [, flag] )
| file | full path and file name to convert |
| flag | [optional] if 1 file can have relative dir, e.g. "..\file.txt" |
| Success: | Returns the long path+name of the path+name passed. |
| Failure: | Returns the parameter and sets @error to 1. |
Local $sLongName = FileGetLongName(@HomeDrive & "\PROGRA~1")
MsgBox(0, "FileGetLongName", $sLongName) ; Generally this is C:\Program Files.