System.AnsiStrings.ExpandFileName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ExpandFileName(const FileName: AnsiString): AnsiString;

C++

extern DELPHI_PACKAGE System::AnsiString __fastcall ExpandFileName(const System::AnsiString FileName)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.AnsiStrings.pas
System.AnsiStrings.hpp
System.AnsiStrings System.AnsiStrings

Description

Expand filename to fully qualified filename.

ExpandFileName expands the given filename to a fully qualified filename. The resulting AnsiString consists of a drive letter, a colon, a root relative directory path, and a filename including the extension, if any. Embedded '.' and '..' directory references are removed.

See Also

Code Examples