


So this won't stop you from traversing through other files. But all the operations are done in the background (Explorer is smart enough!. First time, it might take some minutes depending upon the contents of the folder. When the user selects the "Folder Size" item from the Explorer context menu, the Explorer starts calculating the folder size by traversing all the files and nested folders.

Or maybe, you can pack two more classes to display columns for number of files and number of folders into the same DLL to do so. This code can be modified to display the number of files/folders in the folder. E.g., Regsvr32 c:\DirSize.DLL, if the DLL is present in C. If demo project is downloaded, then unzip the DLL and register it using the command "regsvr32 ". Well, if you build the project, you need not do anything, since the IDE automatically registers the DLL. To build this project, you must install Microsoft Platform SDK, or click here to download SHLOBJ.h. This class adds one more column to the Details view, which displays the consolidated folder size. Using this interface, one can customize the Explorer's Details view. This class implements the Shell interface called IColumnProvider. (I did not do anything to sort, it is done by Explorer. We also have the facility to sort according to the folder size. Using this DLL, one can view the folder size as one of the columns of the Explorer as shown in the image. What makes this case even more curious is that, it's probably safe to say that a majority people don't need to edit more than 4GB of text at a time, and that the 64-bit version of Notepad++ has a major limitation (fewer plugins).In day to day life, when one wants to know the size of a folder, (s)he has to right click on the folder name and has to choose the Properties. That made me wonder "What are all the advantages to the 64-bit version of Notepad++?".ĮDIT 2: I don't think this is a duplicate of Other benefits of 64-bit OS apart from memory expansion? because I'm asking about specific benefits for this particular application. Is that correct? Are there other benefits?ĮDIT 1: There seemed to be much interest in the release of a 64-bit version of Notepad++, but it's hard to imagine that so many people are using it to edit files over 4GB in size, even if multiple files are open. I imagine one of the benefits is being able to load enormous, multi-gigabyte files. Folder Size is a free Windows utility that scans your drives or folders and displays detailed information about the size of their contents so you can see where the disk space went. What benefits does the 64-bit version of Notepad++ have over the 32-bit version when running in Windows 7? What about in Windows 10? Notepad++ is available in a 64-bit version in addition to a 32-bit version.
