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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|
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 |