Extracts the drive and directory parts from FileName.
function ExtractFileDir(const FileName: string): string;
AnsiString ExtractFileDir(const AnsiString FileName);
SysUtils
The resulting string is a directory name suitable for passing to the CreateDir, GetCurrentDir, RemoveDir, and SetCurrentDir functions. This string is empty if FileName contains no drive and directory parts.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|