Mega Code Archive

 
Categories / JavaScript Tutorial / MS JScript
 

Drive FileSystem

The FileSystem property contains the type of file system used by the specified drive. <html>     <script language="JScript">     <!--     var drivePath = "C:";     var fileSysObj = new ActiveXObject("Scripting.FileSystemObject");     var drive = fileSysObj.GetDrive(fileSysObj.GetDriveName(drivePath));     document.write("Drive ",drivePath," uses the ");     document.write(drive.FileSystem," file system.");     -->     </script> </html>