Home > Windows Server Tips > Windows Systems and Network Administration > Calculating folder sizes simplified
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS SYSTEMS AND NETWORK ADMINISTRATION

Calculating folder sizes simplified


Serdar Yegulalp, Contributor
12.21.2006
Rating: --- (out of 5)


Expert advice on Windows-based systems and hardware
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


With Windows Explorer, it's hard to get an idea of how big a folder in a given directory is. When you open Explorer and look at the Details view of a folder, the Size column is empty.

Part of the reason for this is because Explorer won't calculate the size of a folder unless you specifically ask for it (by right-clicking a folder and selecting Properties), and the process of calculating a folder size can take a long time since it has to recurse through each subfolder and determine its contents to get an accurate count. Evidently Microsoft elected to only show this information "on demand" because of the effort involved to obtain it. But many people have asked me if there's a way to obtain it a bit more easily.

One of the simplest ways to do this is to install Folder Size, a free, open-source utility that integrates directly with Explorer, so there's no need to click anything or run an external program. Once you've installed it, you can add a Folder Size column to Explorer that lists the size of the underlying folders in a view. The size of each folder is tabulated passively in the background; if a given folder's size is still being tabulated, you'll see a + sign next to the folder size.

Other columns include "File Children" and "Folder Children", which list how many files and folders are available under that particular folder. The program also adds a Control Panel entry to let you control its underlying behavior, including stopping or resuming the folder size cache service. This allows the sizes of folders to be tabulated and maintained consistently, so they only need to be reindexed when the contents of a folder change. The overhead on the system for doing this is minimal.

I've also looked at a few standalone applications. TreeSize harvests t


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Windows Systems and Network Management Tools and Techniques
Top five Server Core management tips for Windows 2008
Top free tools for Windows server administration
A first look at Internet Information Services 7.0
Windows registry hack improves offline file access for mobile users
Reducing the size of network backups in Windows
Monitor network bandwidth with CyberGauge
How to format NTFS: More tricks to improve file system performance
Key enhancements to SCCM give admins more control over assets, licensing
Archiving information with New-Item in Windows PowerShell
Debugging Userenv issues using Windows new event viewer

Windows Systems and Network Administration
Cutting the cost of Windows identity and access management
Using NTFS on a non-Windows OS with NTFS-3G
Group Policy Object modeling simplifies network security
Implementing simple Network Access Protection for Windows Server 2008
Immediate steps for Windows disaster recovery
Tips for Windows domain controller optimization
Quick hits: Troubleshooting service account failure, batch job execution
Case Study: Troubleshooting Windows service dependency failures
Troubleshooting common Windows service failures
Reducing the size of network backups in Windows

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


he same kind of information from the folders on any system drive, but it has one drawback: On a system where there are a great many folders (such as my own music drive, which has something like 80GB of ripped music), the program's interface sometimes stalls and doesn't return any progress feedback.

One program which is striking both for the kinds of results it returns and the way it's been implemented is DirLot, a compiled HTML application that returns a colorful and interactively explorable folder-size report. The program is designed to tell you what in a given directory is taking up the most space by percentile, but it also returns the total size of a given folder quite quickly, and it tries to inform the user when it's busy harvesting information so you're not faced with an inactive display when you click on something.

All the programs described above (except for TreeSize) have one drawback: They can't produce printed reports. If you want a simple command-line program to return the total size of folders in a simple text report, check out TreeInfo, which can be used to pipe its results to a text file. One of the sample uses listed in the program's documentation involves the SORT command.

About the author: Serdar Yegulalp is editor of the Windows Power Users Newsletter, which is devoted to hints, tips, tricks, news and goodies for Windows NT, Windows 2000 and Windows XP users and administrators. He has more than 10 years of Windows experience under his belt, and contributes regularly to SearchWinComputing.com and SearchSQLServer.com.

More information on this topic:

  • Tip: Tasks you should automate: Synchronizing folders
  • Topics: Admin tools
  • RSS: Sign up for our RSS feed to receive expert advice every day.

      Rate this Tip
      To rate tips, you must be a member of SearchWindowsServer.com.
      Register now to start rating these tips. Log in if you are already a member.




      DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Server Room Design - Planning, Cooling, Maintenance
HomeTopicsBlogsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts