Author Topic: Scan & Pull Directory Level size report in different Sizes( MB or GB or TB)  (Read 801 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: 2566
    • 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.   
"Success is a lousy teacher. It seduces smart people into thinking they can't lose."
  - Bill Gates