January 7, 2006

This is a little program I wrote to find out what takes the most space on my hard drive.

There are prettier pieces of software like one called treesize but I like mine anyway.

It's something like the UNIX "du" program but with sorting by size.

It will tell you:

  • which folders have lots of files in them (this is a hidden performance suck for filesystems)
  • which folders use lots of storage
It's really ugly, but it does the job.

Download it here: disksum [124kb]

Sample output from running it in my C:\WINDOWS:

18MB (151 files):   C:\WINDOWS\system32\wbem
18MB (122 files):   C:\WINDOWS\system32\ReinstallBackups\0003\DriverFiles
18MB (2 files): 	C:\WINDOWS\Downloaded Installations\{ED9C4B62-65C7-415D-B6EC-C250B60CD0CD}
18MB (2 files): 	C:\WINDOWS\Downloaded Installations\{1E8AA1A5-7AAA-440C-8C9E-F46A724242F8}
18MB (2 files): 	C:\WINDOWS\Downloaded Installations\{92C299DB-F4E8-46B3-BEC6-27D1117B177C}
19MB (15 files):    C:\WINDOWS\Help\Tours\mmTour
19MB (78 files):    C:\WINDOWS\RegisteredPackages\{44BBA855-CC51-11CF-AAFA-00AA00B6015C}
19MB (2 files): 	C:\WINDOWS\Downloaded Installations\{8A232810-B5F1-48DD-A63D-B439D7680D94}
20MB (2 files): 	C:\WINDOWS\Downloaded Installations\{A89EB61A-717D-4E9B-BB70-7626DF2EB947}
24MB (15 files):    C:\WINDOWS\Downloaded Program Files
29MB (320 files):   C:\WINDOWS\system32\drivers
30MB (1 files): 	C:\WINDOWS\Downloaded Installations\{5916054A-908F-4AA0-98FA-7CD96B7ACA0B}
32MB (463 files):   C:\WINDOWS\Help
34MB (155 files):   C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705
39MB (3 files): 	C:\WINDOWS\Downloaded Installations\{B4C5D0D7-94D1-42C3-82F2-88D8334C3954}
41MB (3 files): 	C:\WINDOWS\Downloaded Installations\{C32B8844-F60D-430F-8B25-FDE3F90944C5}
43MB (20 files):    C:\WINDOWS\system32\config
47MB (386 files):   C:\WINDOWS
47MB (210 files):   C:\WINDOWS\system32\spool\drivers\w32x86\3
50MB (386 files):   C:\WINDOWS\Fonts
51MB (15 files):    C:\WINDOWS\repair
52MB (198 files):   C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
55MB (1667 files):  C:\WINDOWS\inf
57MB (39 files):    C:\WINDOWS\Downloaded Installations\{EA7763E4-20ED-43E2-AEFB-D81D1FC2ED59}
58MB (39 files):    C:\WINDOWS\Downloaded Installations\{872653C6-5DDC-488B-B7C2-CF9E4D9335E5}
58MB (39 files):    C:\WINDOWS\Downloaded Installations\{13616DE2-9795-4910-8C93-80D45AF09658}
112MB (10 files):   C:\WINDOWS\Driver Cache\i386
158MB (1016 files): C:\WINDOWS\system32\dllcache
265MB (106 files):  C:\WINDOWS\Installer
487MB (2501 files): C:\WINDOWS\system32