Skip to content

ExtractShortPathName

Returns a 8.3 path name.

Declaration

Source position: finah.inc line 30

function ExtractShortPathName(const FileName: UnicodeString)
                              : UnicodeString;
function ExtractShortPathName(const FileName: RawByteString)
                              : RawByteString;

Description

ExtractShortPathName returns a 8.3 compliant filename that represents the same file as FileName. On platforms other than windows, this is FileName itself.

See also

Name Description
ExtractFilePath Extract the path from a filename.
ExtractFileName Extract the filename part from a full path filename.