Mega Code Archive

 
Categories / JavaScript Tutorial / MS JScript
 

Drives Count

The Count property contains the number of items in the collection. <html>     <script language="JScript">     <!--     var fileSysObj = new ActiveXObject("Scripting.FileSystemObject");     document.write("There are ",fileSysObj.Drives.count," drives.");     -->     </script>     </html>