Folder size from command?

  • Thread starter Thread starter Brian MXP
  • Start date Start date
B

Brian MXP

Howdy-

Is there any way to get the size of a single folder from the command
line? I know diruse can search/display within a tree, but I'd like to
be able to get size information for specific folder without having to
use Explorer... Maybe a third-party tool?

TIA,
BM
 
Jack Handey said:
dir "folder name"

doesn't that give this info?

dir "folder name" | find "(s)"

might be more useful - could be refined further if we knew precisely the
details you are looking for.

batch solutions for similar problems are often discussed in
alt.msdos.batch.nt

HTH

....Bill
 
billious said:
dir "folder name" | find "(s)"

might be more useful - could be refined further if we knew precisely the
details you are looking for.

batch solutions for similar problems are often discussed in
alt.msdos.batch.nt

HTH

...Bill
Thanks.

My bad on this one; diruse is what I need. I had been so used to
running diruse to loop through directories for specific-sized folders
that I forgot it could be used to display single (I did want sub-dirs,
too) folder sizes...

c:\temp>diruse <foldername> /m

gave me what I wanted (in Megabytes)

btw, this option:didn't

Appreciate the help!
Brian
 
Brian said:
Howdy-

Is there any way to get the size of a single folder from the command
line? I know diruse can search/display within a tree, but I'd like to
be able to get size information for specific folder without having to
use Explorer... Maybe a third-party tool?
Another option is the free Folder Size shell extension, which shows the size
of both files and folders in Explorer's 'Details' view.
http://foldersize.sourceforge.net/
 
Back
Top