0

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.

Malnizzle
  • 1,441
  • 2
  • 16
  • 30

2 Answers2

2

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.

Mitch
  • 1,147
  • 11
  • 20
2
@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

jftuga
  • 5,731
  • 4
  • 42
  • 51