WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: BVVNAIDU937 on May 19, 2017, 07:42:22 AM

Title: Scan & Pull Directory Level size report in different Sizes( MB or GB or TB)
Post by: BVVNAIDU937 on May 19, 2017, 07:42:22 AM
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 !!!
Title: Re: Scan & Pull Directory Level size report in different Sizes( MB or GB or TB)
Post by: td on May 19, 2017, 09:41:28 AM
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.