Author Topic: Scan & Pull Directory Level size report in different Sizes( MB or GB or TB)  (Read 1487 times)


  • Newbie
  • *
  • Posts: 11
Hi Winbatch Tech Team,

I need to scan and pull the directory level folders (sub or entire Drive level) size (in MB or GB or TB) into excel or csv. Could you please help me to where i have to start write the code(if any sample code would be helpful).

Thank you for your support !!!


  • Tech Support
  • *****
  • Posts: 3494
    • WinBatch
There multiple examples of traversing a directory structure using several different techniques in the Tech Database.   Here is one of the more elegant ones:

The Tech Database is your friend and should be a part of your problem solving strategy.   
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade