Enumerate Subfolders Using Recursion

Demonstration script that uses the FileSystemObject to recursively list all the subfolders (and their subfolders) within a folder. Script must be run on the local computer.

 
 
 
 
 
(0)
Add to favorites
Storage
8/10/2009
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Folder and file help
    1 Posts | Last post January 19, 2011
    • How would I go about writing a script to read a directory structure and output a CSV file. I need the name of the file, the directory path that it is in and the directory name that the file is in. so it would come out something like this:
      
      directory,D:\blah\blah\directory,filename.txt
      
      I would need it to look in all sub directories in a directory of my choosing.  I could not find a way to contact you guys so I am hoping that you will see this.