8.10.8 DriveExists Method

Returns True if the specified drive exists; False if it does not.
Syntax
object.DriveExists(drivespec)
Arguments
- object
- The name of a FileSystemObject. Required.
- drivespec
- A drive letter or a complete path specification. Required.
Remarks
For drives with removable media, the DriveExists method returns True even if there are no media present. Use the IsReady property of the Drive object to determine if a drive is ready.
On UNIX systems the only valid drive name is "/".
Copyright © 2000 Chili!Soft
|