|
November 22, 2000 Probing Drives Tips: November 2000
Yehuda Shiran, Ph.D.
|
|
You can use JavaScript to get a lot of information about the drives in your system, both disk drives as well shared networks. A drive object is created using the GetDrive() method of the FileSystemObject object. The syntax is as follows:
The single parameter, letterDrive, is the given drive name. This method returns the drive object. The following script should create a drive object for f:
The drive object does not have any methods. Here are the drive object's properties:
People who read this tip also read these tips: Look for similar tips by subject: |