1. Home
  2. Computing & Technology
  3. Delphi Programming
Folder SIZE
Folder SIZE displays a tree view of subfolders within a folder, number of subfolders (with a Pie Chart of the subfolder disk space usage), subfolder sizes, and the total size of all folder contents. Multithreading makes Folder SIZE super fast.
 More of this Feature
• Download FolderSIZE executable (~ 200 KB)
• Download Delphi source
 Join the Discussion
"Post your views, comments, questions and doubts to this article."
Discuss!
 Related Resources
• More Free Application (with source)
• Threading in Delphi
• Searching for Files in Delphi

When you want to know the size of a folder, you have to open up the Windows Explorer, navigate to the folder you are interested in, right click on the folder name and choose the Properties item.

Folder SIZE
What if you need to know the size of subfolders? Should you click one-by-one and select Properties, ..., then sum the "Size" value? No!

Would you like to have a graphical representation of the disk space usage by each subfolder? Super fast? "Folder Size" is what you were looking for:

Folder SIZE in action

Folder SIZE features:

  • Tree view of the subfolder structure for a selected folder
  • Total count of folders (including all subfolders)
  • Total count of files (including all subfolders)
  • Total size of the files in a folder (including all subfolders)
  • Pie chart of the disk space usage
  • Super fast
  • Easy to use:
    1. Click the [Refresh] button
    2. From the "Browse For Folder" dialog pick a folder you are interested in.
    3. Wait for the "Select a folder from the tree..." message
    4. Once the directory tree is filled, simply click on the subfolder name
    5. That's all.
  • FREE to use

Download executable, run (no installation needed), select a folder and have it all clear!

Folder SIZE in more action

Folder SIZE - full Delphi source
Developers can freely download the full Folder SIZE source (Delphi for WIN32 source).

Folder SIZE uses a TreeView component to display the folder sub-directory structure (where each node stores an object using linked lists with pointers). The standard approach to file searching along with threading makes it super fast. A simple "Browse For Folder" dialog is displayed using the RTL's SelectDirectory function.

Folder SIZE can be extended with new ideas; here are some you can add to the code: run as a shell extension, more charting options, file filtering.

Feel free and encouraged to add any of the new features to Folder SIZE. Send me your version of Folder SIZE, I'll be happy to make it available to others here.

If you need any help with the code, be sure to post your questions on the Delphi Programming Forum.

Explore Delphi Programming
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming

©2009 About.com, a part of The New York Times Company.

All rights reserved.