Zitat von
SubData:
heißt das nich ExtractFilePath?
Zitat von
OH (Diamondback):
Extracts the drive and directory parts from FileName.
Namespace
SysUtils
Syntax
[Delphi] function ExtractFileDir(const FileName: string): string;
Description
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.