wwUtils::LongPath

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

Remarks

This function does not fix up relative paths.


See also:

Class wwAPI

© West Wind Technologies, 2023 • Updated: 01/06/19
Comment or report problem with topic