Google

» How To Find Directories That Are Taking Up Space On Your Hard Disk

When using Windows Explorer for viewing your files and directories on your Computer, one item missing from Explorer's default view is which directories are taking up the most space on your hard disk. You can easily view how much Total Size and Free Space is available, but Windows Explorer does not report individual directory sizes unless you look at the properties of each directory.

To remedy this problem of finding which directory is eating up your free space, I like to use a tool called Directory Disk Usage.

Directory Disk Usage, known as diruse is a free command line tool found on Microsoft's Help and Support site. Using diruse is easy. After you have downloaded the tool, install by clicking on diruse_setup.exe.

After installing the program, open a command prompt and run:

cd "\Program Files\Resource Kit"
diruse /M /* c:\

where:
/M - reports in Magabytes
/* - Uses the top-level directories residing in the specified directory (
In the above example C:\ is the specifed directory)

Below is the results of the output:

Size (mb) Files Directory
0.22 3 SUB-TOTAL: C:\$VAULT$.AVG
301.49 3649 SUB-TOTAL: C:\Documents and Settings
539.93 6797 SUB-TOTAL: C:\I386
4767.69 13447 SUB-TOTAL: C:\OTHER
957.58 8666 SUB-TOTAL: C:\pebuilder3110a
1278.40 12564 SUB-TOTAL: C:\Program Files
504.03 1586 SUB-TOTAL: C:\RECYCLER
2194.60 8086 SUB-TOTAL: C:\System Volume Information
2346.51 15754 SUB-TOTAL: C:\WINDOWS
12890.45 70552 TOTAL

The above results show the C:\OTHER directory is using 4767.69 Mega Bytes of disk space. Next, I'll run the diruse command again, against C:\OTHER to drill down and find the exact directory eating up my disk space:

diruse /M /* c:\OTHER

Below is the results of the output:

Size (mb) Files Directory
2.91 14 SUB-TOTAL: C:\OTHER\BusinessInfo
61.98 1309 SUB-TOTAL: C:\OTHER\software
41.60 41 SUB-TOTAL: C:\OTHER\drivers
0.02 21 SUB-TOTAL: C:\OTHER\work
3.03 9 SUB-TOTAL: C:\OTHER\config
0.00 3 SUB-TOTAL: C:\OTHER\lnetwork
182.16 537 SUB-TOTAL: C:\OTHER\bkup
14.71 6 SUB-TOTAL: C:\OTHER\vpnclient
1.81 60 SUB-TOTAL: C:\OTHER\info
817.20 224 SUB-TOTAL: C:\OTHER\tools
515.25 449 SUB-TOTAL: C:\OTHER\wtnfiles
3089.50 10765 SUB-TOTAL: C:\OTHER\MP3
4730.18 13438 TOTAL

As you can see from the results above, the MP3 directory is using 3.089.50 Gigabytes of disk space. From here I can open up Windows Explorer and start cleaning up or backup to an USB Drives any unused Mp3 files to reclaim back some disk space.

Diruse is a versitile tools that replaces the missing functionality of Windows Explorer with displaying individual directory sizes on you Hard Disk. If the output of your list is large, dir use can redirect the output to a text file to help you view it. To redirect use the > character as shown below:

diruse /M /* c:\OTHER > "\Program Files\Resource Kit\output.csv"

Diruse syntax:

DIRUSE {/s | /v} {/m | /k | /b} [/c] [/,] [/q:# [/l] [/a] [/d] [/o]] [/*] [DirList]

Where:

/s
includes subdirectories of the specified directories in the output.

/v
writes progress reports while scanning subdirectories. The /v is ignored if /s is specified.

/m
displays disk usage in megabytes.

/k
displays disk usage in kilobytes.

/b
displays disk usage in bytes (default).

/c
uses compressed file size instead of apparent file size.

/,
displays the thousands separator (comma or period) in file sizes.

/q:#
marks directories that exceed the specified size (#) with an exclamation point (!). If /m (megabytes) or /k (kilobytes) is not specified, the size is assumed to be in bytes. If /q is specified and any directory is found that exceeds the specified size, then the return code is ONE. Otherwise the return code is ZERO.

The following switches can be used in conjunction with /q:

/l Writes overflows to the log file diruse.log in the current directory.

/a Specifies that an alert is generated if sizes specified by /q:# are exceeded. The Alerter service must be running, and the alert appears only when you are using Diruse.

/d Displays only directories that exceed specified sizes.

/o Specifies that subdirectories are not checked to see if they exceed the specified size.

/* uses the top-level directories residing in the specified DirList.

DirList specifies a list of directories to check. DirList is required. Use semicolons, commas, or spaces to separate multiple directories.

| 925 Sterling Silver Jewellerys | Video On Demand | ATV-Sport | Baby Monitor | Basket Ball Shoes | Lady Fashion Shoes | Bedroom Sets | Best LCD TV Brand | Best Wireless Bluetooth Headset | Body Massager | Brand Sport Shoes | Brands Handbag | Car Monitor | Car MP3 Player | CCTV Camera | CCTV Systems | CDMA Cell Phones | Cheap Mountain Bikes | Cheap Road Bikes | Computer Monitor | Costume Jewellery | Dressing Shoes | Fashion Jewellery | Fashion Handbags | Fashion T-shirts | Fashionable Sports Shoes | Fashion Handbags | Fashion Shoes | Fire Extinguisher | Fishing Boats | Flash Memory Cards | Flash USB Disk | Gas BBQ | Gas Grill | Gold Jewellery | GSM Cell Phones | Home DVD Player | Ice Breakers | Integrated Kitchen Cabinets | Kids Children Furniture | Lady T-Shirt | LCD TV With DVD Combo | LCD TV With DVD Player | LCD Monitor | LED Lights | Memorial Cards | Mibo Shade | Mini Bluetooth Headset | Mini Digital Camera | Mini DVD Player | Mobile Phone Bluetooth Headset | Modern Leather Sofas | MP3 Necklace | Nokia Cell Phones | Notebook Keyboard | Outdoor Patio Furniture | Pave Diamond Wedding Bands | PC Video Cards | PC Webcam | Plywood | Polyester Fabric | Popular Shoes | Prenatal Vitamins | Safety Shoes | Sata Hard Drive | Sata Harddrive | Seas Pearl Necklace | Security Cameras | Server Hard Drive | Skin Care Products | Skin Moisturizer | Skin Oil Control | Slim Digital Camera | Slim Keyboard | Slimming Diet Pills | Small Electric Skillet | Solar Lights | Sportbasketball Shoes | Sterling Silver Jewellery | TFT LCD Display | TFT LCD Monitor | TFT LCD TV | Tiffany Lamps | USB Card Reader | USB Disk | USB DVD Player | USB External Harddrive | USB Webcam | Window Blinds | Wireless Baby Monitor | Wireless Keyboard | Wireless Multimedia Keyboard | Women Beautiful Shoes | Discounttire | Sexual Toys | iPhone 3G Accessories | Whirlpool Bathtubs | Toilets | Americanracing | Christringminist | HTC Max 4g | Car Electronics | Satellite Television | HP Laptops | HP United States | Discount Computer Software | Borders Books | Acer United States | Video Game Players | Buy Cheap Apple iPods | Magazines USA | USA Electronics | Video VHS Used Videos | Kitchen H ousewares Small Appliances Cookware | Furniture Decor Dining Bedroom Patio | Bed Bath Bedding Bathroom Accessories | Home Appliances Air Conditioners Sewing Machines | Housewares Kitchens | Home Improvement Garden Tools Lawn Hardware | Outdoor Living Grills Patio Furniture | Pet Supplies Birds Sats Dogs | Sewing Craft Hobby | Grocery Breakfast Foods Snacks Organic | Natural Organic Grocery | Gourmet Food Gifts Chocolate Seafood | Health Personal Care Nutrition Fitness | Beauty Makeup Fragrance Skin Care | Jewelry Watches Engagements Rings Diamonds | Tools Power Cordless Saws Drills | Lawn Garden Tools Hardware | Automotive Auto Truck Replacements Parts | Powersports Automotive | Industrial Scientific Fastners Raw Materials | Watches Mens Womens Children Accessories | Shoes Men Women Kids Baby | Apparel Accessories Men Women | Office Products Supplies Electronics Furniture | Musical Instruments Accessories Sound Recording | Toys Games Electronics Action Figures | Computer Video Games Hardware Accessories | Baby Car Seats Strollers Bedding | PC Components Computer Add Ons Computers | Software Business Education Finance Childrens | DVD Used HD Action Comedy Oscar | MP3 Music Download | Music Rock Classical Pop Jazz | Canon United States | Computer Tips Online |