FileNameShort

Returns the short (i.e., 8.3) version of a filename.

Syntax:

FileNameShort(filename)

Parameters:

(s) filename fully qualified file name, path optional.

Returns:

(s) the short version of a filename.

 

FileNameShort searches the path for the filename specified, returning the short filename if found.

This function supports extended-length path names.

 

Example:


DirChange("C:\windows")
a=FileNameShort("carved stone.bmp")
Message("Short Filename", a)
See Also:

FileFullName, FileNameLong