Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript FileSystemObject Object DriveExists Method

Returns True if the specified drive exists; False if it does not.

Syntax: JScript FileSystemObject Object DriveExists Method

object.DriveExists(drivespec)

Arguments: JScript FileSystemObject Object DriveExists Method

object

Required. Always the name of a FileSystemObject object.

drivespec

Required. A drive letter or a complete path specification.

Remarks: JScript FileSystemObject Object DriveExists Method

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.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.