The DriveType property contains a numeric value indicating type of the specified drive.
Drive Type Value Definitions
<html> <script language="JScript"> <!-- var drivePath = "C:"; var fileSysObj = new ActiveXObject("Scripting.FileSystemObject"); var drive = fileSysObj.GetDrive(fileSysObj.GetDriveName(drivePath)); document.write("The drive type for ",drivePath," is ",drive.DriveType); --> </script> </html>