A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Performance and Maintainance of XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Get folder size from command?



 
 
Thread Tools Display Modes
  #1  
Old August 4th 05, 03:42 PM
Brian MXP
external usenet poster
 
Posts: n/a
Default Get folder size from command?

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
Ads
  #2  
Old August 5th 05, 08:39 AM
Mak
external usenet poster
 
Posts: n/a
Default

Hi,
I'm not too clear on what you want to do, but, assuming you want a command
line utility to display size of the folder EXCLUDING subfolders (otherwise
why would you dismiss diruse?), you can:
1. use DU -n from sysinternals:
http://www.sysinternals.com/utilities/du.html
2. use batch (use dir), see this one for example
http://www.robvanderwoude.com/files/diskuse2k.txt - just modify it to
remove calculations of subfolders.

"Brian MXP" wrote in message
...
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



  #3  
Old August 5th 05, 03:45 PM
Brian MXP
external usenet poster
 
Posts: n/a
Default

Mak wrote:
Hi,
I'm not too clear on what you want to do, but, assuming you want a command
line utility to display size of the folder EXCLUDING subfolders (otherwise
why would you dismiss diruse?), you can:
1. use DU -n from sysinternals:
http://www.sysinternals.com/utilities/du.html
2. use batch (use dir), see this one for example
http://www.robvanderwoude.com/files/diskuse2k.txt - just modify it to
remove calculations of subfolders.

"Brian MXP" wrote in message
...

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




Mak-

You were right; I do get what I need with diruse. 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:\tempdiruse foldername /m

gave me what I wanted (in Megabytes)

Thanks,
Brian
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
BulletProof software mgm Security and Administration with Windows XP 14 July 23rd 05 12:22 AM
How to have Picture Tasks menu for My Picture always? Levlg Customizing Windows XP 10 July 21st 05 10:05 AM
How do I add background image to each folder type? Wesley Vogel General XP issues or comments 1 February 23rd 05 04:26 AM
Windows is too large Jose General XP issues or comments 1 September 26th 04 10:55 AM
Window Folder Problem. Bad Head General XP issues or comments 4 September 4th 04 09:48 AM






All times are GMT +1. The time now is 03:40 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.