|
Returns True if the specified drive exists; False if it does not.
object.DriveExists(drivespec)
object
The name of a FileSystemObject. Required.
drivespec
A drive letter or a complete path specification. Required.
For drives with removable media, the DriveExists method returns True even if there are no media present. Use the VBScript Drive Object IsReady Property of the Drive object to determine if a drive is ready.
On UNIX systems the only valid drive name is "/".
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.