The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:function ExtractDrive (Path: string): integer;

The function ExtractDrive returns the drive number as specified in the Path : 0 = A:, 1 = B:, 2 = C:, ... If the Path does not contain any drive letter the function returns -1.

Last Update: 2012-Okt-20