Although not a SQL Server post, I thought this would be helpful for anyone...
In an attempt to clean up my laptop, I have been archiving old projects, setup files, etc., off to a file server. Alas, some directories have a multitude of subdirectories, and trying to figure out how much space each takes up is cumbersome at best. So, I decided to write a quickie utility that will iterate through all files in the directory and subdirectories (or not, if you choose so).
It outputs its results to a multiline text box, so you can easily copy and paste into Excel, sort the results, and see which directories are using all your hard drive space.
The program requires the .NET 2.0 Framework.
And of course, use at your own risk.
Cross-posted from SQLBlog! -
http://www.sqlblog.com