FileSystemObject.GetDriveName Method (VB6) |
Yes
oFileSysObj.GetDriveName (Path)
oFileSysObj
Use: Required
Data Type: FileSystemObject object
Any object variable returning a FileSystemObject object.
Path
Use: Required
Data Type: String
A path specifier.
A String.
Returns the drive name of a given path.
If the drive name can't be determined from the given path, a zero-length string ("") is returned.
GetDriveName doesn't verify that a given drive exists in Path.
Path can be a network drive or share.