I have a list of folders on my network in a .txt, which are stored in different locations throughout the network. Looking for a tool or script to pull the size of those folders and output them to a txt/cvs files.

link|improve this question

feedback

2 Answers

up vote 2 down vote accepted
@echo off
for /f %%d in (dirlist.txt) do (
   @echo %%d
   du -q %%d | findstr /B "Size.*disk"
   @echo.
)

You can get the du program from Sysinternals Disk Usage

link|improve this answer
feedback

I think Disk Usage will do that for you. At a minimum you can whip up a script that uses it to do what you want.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.