SYSK 369: What’s Taking So Much Hard Drive Space? ... or Getting ‘True’ Folder Size

If, from time to time, you delete some files & folders from your hard disk, either because it’s no longer needed or just takes too much space and needs to be moved elsewhere, you may find the following utility useful…

 

Basically, the tool below goes through all subfolders (starting with the specified location), and computes the total space taken by files in the folder, excluding subfolders… but it does it recursively, so you get the “true” folder size based on just the files in it…

As a result, it lists them in ascending or descending order (specified by a checkbox)…

 

Attached are the executable and source code…

 

Disclaimer: I created this tools as a “quick and dirty” app to help me figure out why my backups took so long… i.e. it’s not intended to be “production quality” code, etc., etc.

FolderSize.zip