Skip to main content

GetFolderInfo


I always wanted an application that would give me all the files present in a drive or a folder. Should help me in identifying the duplicate files, hidden files, old files, large files and creating a inventory of all the files in a drive/folder. 

So, I created one in my free time using C#. 
You can download the application with given link - GetFolderInfo.exe

Application Requirements -
  • .NET Framework 4.0 or above (Your system might already have this. If not, download it using given link)
  • Office 2010 or above (Could be backward compatible with previous versions like 2003, 2007. Let me know how it works for you)
Simple (For normal users)
  1. Place the application in a Drive/Folder for which you need the information
  2. Run the application by double-clicking
  3. Give permission to the application to generate the Excel report
  4. After successful run, it will save the Excel report with folder name as file name in the same folder. E.g. D:\Photos\Photos.xlsx
Command Line Interface (For technical users)

Open Run or Command Prompt, use the following command format -

[Application Path] "[Folder for which you need the information]" [Columns Selection]

E.g. Suppose the application is placed in the folder D:\Softwares and you need information of the folder D:\Photos. Use the below command -

D:\Softwares\GetFolderInfo.exe "D:\Photos"

Below command is incorrect & will result in error as you are keeping "\" at the end of folder path -

D:\Softwares\GetFolderInfo.exe "D:\Photos\"

E.g. If you need the information of a drive like D:\, you can use the below command -

D:\Softwares\GetFolderInfo.exe "D:"

The above command generates excel report with following columns -
  1. File/Folder Name [Mandatory Column]
  2. File/Folder [Mandatory Column]
  3. Extension [Mandatory Column]
  4. Path [Mandatory Column]
  5. Size
  6. Size Unit 
  7. % of Drive Size
  8. Creation DateTime
  9. Modified DateTime
  10. Accessed DateTime
  11. Hidden
  12. Read-only
The first four columns are mandatory in the report. You can use second argument to custom-select the next 8 columns in the report. 

E.g. If you only need columns "Size" and "Size Unit" in excel report, use below command - 

D:\Softwares\GetFolderInfo.exe "D:\Photos" 11000000

E.g. If you only need columns "Size", "Size Unit" & "Hidden" in excel report, use below command - 

D:\Softwares\GetFolderInfo.exe "D:\Photos" 11000010

Note - This is a offline application and doesn't need internet connection. It doesn't download or upload any information when internet is available.

Drop a comment if you found the application useful. If you encounter any issues with the application that I can fix or something I can customize, let me know.

Updates 
3.0.0.0
Application will skip the system folders $RECYCLE.BIN and "System Volume Information" as they are not accessible.

Comments

Popular posts from this blog

Bowling & Howling

Have ever been to a "Bowling Alley"...??? "No"... Then U r missing something...I would say that it's one of the "Too Good" recreational activities. From many weeks, my roommate Vishal has been asking me to give company for going to Bowling Alley. I was not interested at that time as I thought that it would be too costly and boring too. But I said "Ok" to give company,  not to participate. There are few Malls which feature a Bowling Alley.

My First Certification

Hi dudes, This is my first blog. Eventhough i am not so good at narrating, i tried my level best. Post ur comments please to improvise my future blogs. It was Feb 28, 2009. It was my first certification exam. It was real tough to sleep the night before.

An attempt for the Hot Seat - KBC Season 6

Till today, I remember how i used to wait for every episode of KBC in its first season. Not only me, many Indians were in the same state as I was. People would love to imagine, being on the hot seat with a legend like Amitabh Bachchan asking you General knowledge questions, for which you will get money if you answer them correct. What an experience it will be. Oh sorry sorry ... If you don't know what KBC is ... It stands for  " Kaun Banega Crorepati "(who will be the millionaire). The name itself reveals that it is based on UK game show Who wants to be a Millionaire? . [click the links to know more about them] The show was a huge hit ... For reasons like  Anyone can win money in this show who has good General Knowledge and luck in his pocket. Especially for people who are from low income families and educated enough, but don't get chances in their life to prove their worthiness, this show is a hope. This show can bring drastic changes in  lives of those p