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

BVVNAIDU937

  • 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 !!!

td

  • Tech Support
  • *****
  • Posts: 2223
    • 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:

http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/Samples~from~Users/File~Version~and~Dir~Mgmt+Recursive~Directory~Walker.txt

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