TEA-Time wrote:
| ---Quote (Originally by jimklein)---
| How do I do a dir on a directory (including it's subdirs) when all I
| want returned is the total size of that whole structure.
| ---End Quote---
| Here's a SysInternals utility for doing just that.
|
| http://technet.microsoft.com/en-us/sysinternals/bb896651.aspx
No need. Look at the /U switch of the DIR command (esp. subcode 2, i.e., DIR
/U2).
--
HTH, Steve
Ah, I see that if you happen to be looking for an accurate subdirectory count, /h should also be used to keep the "." and ".." directories from being counted.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.