Spellings Consulting

When you need IT done right.

Subdirectory Sizes Script

Ever wonder where all your hard drive space is going?  At work,we had a 1 terabyte hard drive that was quickly filling up and wanted to know where all the space was going.  Some of the directories were so large that right-clicking on them would essentially crash windows (make the explorer window nonresponseive), so another solution was needed.

 So I wrote a VB Script to do the job.  Simply place this VB Script in any directory and double-click it.  It will find the size of every subdirectory therein and create a log file listing the sizes of every subdirectory.  The script’s log file is written in HTML and displayed in Internet Explorer.  This was done to create a log flie that is easier to read.

If you’d like to use this script, feel free to download it here.  If you’d like features added to the script, please leave a comment.

No comments yet. Be the first.

Leave a reply