Add Folder Size in Windows XP's Explorer

Neat lit­tle tip to see size of your folders.

Want to see the size of your fold­ers and not just files in your Win­dows XP Explorer listings?

If you are inter­ested, Sequoia View is a very use­ful tool to do some nifty things with your fold­ers. Other than that, this fol­low­ing note is now show­ing its age. If sort­ing and such is not nec­es­sary, a sim­ple mouse-over your fold­ers in Explorer will show you a tooltip with an approx­i­mate size of your direc­to­ries. The menu option Tools --> Options --> View --> Show file size in folder tips should let you con­trol the behav­ior of this tooltip.

Well it's prob­a­bly a sim­ple fea­ture that the Win­dows team at Microsoft for­got to include, so Mark Dormer has a solu­tion. Just down­load his tiny DLL file:

It's an EXE file. All you really have to do is:

  1. Copy the file to your c:windowssystem32 folder.
  2. Exe­cute the fol­low­ing com­mand in Start –> Run dia­logue box and you're ready to roll:
    regsvr32 c:windowssystem32dirsize.dll
  3. Now open Explorer in details view, you wont see the col­umn yet. Right click on a head­ing in the right pane and select "Folder Size".

Cou­ple of Caveats

  • Cal­cu­lat­ing folder size is a tur­tle on very large fold­ers with lots of sub­fold­ers. There's no index­ing built into this.
  • As much you and I would like, this tool doesn't do sort­ing of fold­ers based on the folder size. You may want to give another util­ity a try, the Folder Shell Exten­sion.

Cou­ple of Tips

  • To apply this set­ting for all the folder, click Tools, Folder Options. In the View tab and click Apply to all folders.
  • To remove the fea­ture, sim­ply un–reg­is­ter the DLL later with the fol­low­ing com­mand (ignore error mes­sages if any) – 
    regsvr32 /u %Systemroot%System32Dirsize.dll

Hope this helps.

6 comments
  1. Poolboynaturel says: Apr 08, 20065:23 am

    The link :D own­load Mark Dormer's Fold­erview DLL
    is a bad link.
    markd.mvps.org/DirSize.dll Returns a page can­not be found error.
    Has any one used this pro­gram and does it work?

  2. CyberSlug says: Sep 26, 20063:34 am

    You can get the DLL by down­load­ing the demo project from http://www.codeproject.com/shell/DirectorySize.asp?df=100&forumid=26286&exp=0&select=1151181

  3. jimmy you says: Mar 03, 20076:52 am

    Good Tip. This is now superceded by this free­ware pro­gram (and oth­ers no doubt!) I found on soft­pe­dia get it here:
    http://www.softpedia.com/get/System/OS-Enhancements/Folder-Size-Explorer-Extension.shtml

  4. miz says: Jan 31, 20082:33 am

    After plac­ing dll in system32 folder, RegSvr32 com­plains "not an exe­cutable file and no reg­is­tra­tion helper is reg­is­tered for this file type"?

  5. davide1982 says: Aug 12, 20096:29 am

    Here's how you may enable dis­play­ing fold­ers size with­out instal­la­tion of any addi­tional software:

    http://www.myhowtoos.com/en/windows-howtoos/91-…

  6. Ken says: Jun 30, 20104:23 am

    Hey davide1982. Down­load­ing a DLL and reg­is­ter­ing it in the sys­tem is instal­la­tion of soft­ware. And your link is broken.

    Ken

Submit comment