shortName( )
Returns the short (8.3) name of a file.
Syntax
<oRef>.shortName(<filename expC>)
<oRef>
A reference to a File object.
<filename expC>
The name of the file to check. Wildcard characters are not allowed; you must specify the actual file name.
If you specify a file without including its path, dBASE Plus looks for the file in the current directory, then in the search path(s) you specified with SET PATH, if any. If you specify a file without including its extension, dBASE Plus assumes no extension. If the named file cannot be found, an exception occurs.
Property of
File
Description
shortName( ) checks the file specified by <flename expC> and returns a name for the file following the DOS file-naming convention (eight-character file name, three-character extension). If SET FULLPATH is ON, the path is also returned.