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)
- Place the application in a Drive/Folder for which you need the information
- Run the application by double-clicking
- Give permission to the application to generate the Excel report
- 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)
[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 -
- File/Folder Name [Mandatory Column]
- File/Folder [Mandatory Column]
- Extension [Mandatory Column]
- Path [Mandatory Column]
- Size
- Size Unit
- % of Drive Size
- Creation DateTime
- Modified DateTime
- Accessed DateTime
- Hidden
- 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
Post a Comment
Do drop your comment/opnion here