System.AnsiStrings.ExtractShortPathName
Delphi
function ExtractShortPathName(const FileName: AnsiString): AnsiString;
C++
extern DELPHI_PACKAGE System::AnsiString __fastcall ExtractShortPathName(const System::AnsiString FileName)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.AnsiStrings.pas System.AnsiStrings.hpp |
System.AnsiStrings | System.AnsiStrings |
Description
Convert filename to short form.
ExtractShortPathName converts the given filename to the short form by calling the GetShortPathName Windows function. It returns an empty AnsiString if the file or directory specified does not exist.