Sign in Join
FPDoc Onlineexperiment

ExtractFileDrive function

In unit sysutils

Extract the drive part from a filename.

Declaration

pascal
function ExtractFileDrive(const FileName: UnicodeString): UnicodeString

Description

Extracts the drive letter from a filename. Note that some operating systems do not support drive letters.

For an example, see ExtractFileDir.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.