Returns the long path+name of the path+name passed.
FileGetLongName ( "file" [, flag] )
Parameters
| file | full path and file name to convert |
| flag | [optional] if 1 file can have relative dir, e.g. "..\file.txt" |
Return Value
| Success: | Returns the long path+name of the path+name passed. |
| Failure: | Returns the parameter and sets @error to 1. |
Remarks
None.
Related
FileGetShortName
Example
$a = FileGetLongName("C:\PROGRA~1\")
;$a is probably "C:\Program Files"