Mega Code Archive

 
Categories / JavaScript Tutorial / MS JScript
 

Folders

The Folders collection holds a read-only collection of all the available folders. Because the Folder object is a collection, the folders can be accessed only by using an Enumerator object. The properties associated with the Folders collection are listed in the following table. ItemDescription AddAllows you to add a folder to the collection CountReturns the number of items in the collection ItemSet or return an item for a specified key in a Drives dictionary object <html>     <body>     <script language="JScript">     <!--     var fileSysObj = new ActiveXObject("Scripting.FileSystemObject");     document.write(fileSysObj.Folders.count);     // End hide-->     </script>     </html>