Returns a properly upper and lower cased operating system file name from a full or relative filename or path. Returns files and paths in proper case and converts short filenames to long.
LongPath(lcFileName, llCheckFileExists)
Return Value
Properly cased filename or if it doesn't exist the same string that was passed in.
If llCheckFileExists
is .T.
and the file doesn't exist an empty string ""
is returned.
Parameters
lcFileName
Name of the file or path to convert to long syntax.
llCheckFileExists
Optional - If .T. returns?an empty string if the file doesn't exist or there's an error. Otherwise, the original file name passed in is returned (default).
Remarks
This function does not fix up relative paths.
See also:
Class wwAPI© West Wind Technologies, 1996-2024 • Updated: 01/06/19
Comment or report problem with topic