title: get list of folders from local drive using vbscript
body: <p>I want to delete all the documents(.doc) files from my computer, for that I know how to get the list of sub folders from a folder, but not how to get the list of folders from the root directory(Ex C:)</p>
  
  <pre><code>subfoldersInFolder = folder.subFolder
  </code></pre>
  
  <p>Gives all the subfolders of a folder. but supposedly that I want all the folders from C:,</p>
  
  <pre><code> Set colDrives = objFSO.Drives
   For Each objDrive in colDrives
   objDrive.subFolder  //doesn't work
   Next
  </code></pre>