This function returns the drive portion of a file path which includes a filename.
A blank string is returned if no drive or directory is present in the input parameter. The backslashes (\) are not returned.
Declaration: Function ExtractFileDrive(const FileName : string) : string
Example
The resulting log entries are as follows, where the drive letter and colon (:)only are returned.