This method is obsolete. See the Remarks section below. |
Description
The Utilities.ExtractFileDrive
method extracts the drive part from the FileName parameter.
Declaration
Applies To
The method is applied to the following object:
Parameters
The method has the following parameter:
FileName
Specifies the file name from which the drive part should be extracted.
Result Value
A string that holds the drive part extracted from the specified file name. For file names with drive letters, the resulting value will have the following format: '<drive>'. For file names with a UNC path, the format of the resulting value will be '\\<servername>\<sharename>'.
Remarks
This method is obsolete. It is supported for backward compatibility only. To extract the drive part from a file name, use the aqFileSystem.GetFileDrive
or aqFileInfo.Drive
method.
See Also
aqFileSystem.GetFileDrive Method
Drive Property
aqFileSystem.GetFileFolder Method
aqFileSystem.GetFileFolder Method
Path Property
aqFileSystem.GetFileName Method
Name Property
aqFileSystem.GetFileExtension Method
aqFileSystem.GetRelativePath Method
aqFileSystem.GetShortPathName Method