Peter W. DeBetta

<December 2008>
SuMoTuWeThFrSa
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910


Navigation

Blogs

Subscriptions

Post Categories



C# (RSS)

Folder Info

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


posted Tuesday, January 30, 2007 4:48 PM by debettap




Powered by Dot Net Junkies, by Telligent Systems