LongFileName

Description:

baLongFileName returns the long version of a short filename.

Platforms:

Windows and Macintosh

Usage:

Result = baLongFileName( ShortFileName )

Arguments:

String.
ShortFileName is the name of the file. You must supply the full path name to the file.

Returns:

String.
Returns the file name in long format. If the file doesn't exist, then the return will be an empty string.

Examples:

Director:
LongName = baLongFileName( "c:\Progra~1\Access~1\wordpad.exe " )

Authorware:
LongName := baLongFileName("c:\Progra~1\Access~1\wordpad.exe " )
 

Notes:

On Macintosh, this function will only work with and return HFS names.
 

See also:

baShortFileName