das ist:
Zitat:
Returns the drive and directory portions of a file name.
Unit
SysUtils
Category
file name utilities
function ExtractFilePath(const FileName: string): string;
Description
The resulting string is the leftmost characters of FileName, up to and including the colon or backslash that separates the path information from the name and extension. The resulting string is empty if FileName contains no drive and directory parts.
Note: This function works for multi-byte character systems (MBCS).
ist aber auch in der Hilfe zu finden.
Grüße
Klaus