Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

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

You can get the du program from Sysinternals Disk Usage

share|improve this answer

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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