Shortcuts

List of all files and folder within a folder @ a right Click

by
published on
What's it about??: After this tutorial,an option will be available whenever you right-click any folder which will display all the files and sub-folders inside that folder and save it to a text file.
  1. Create a .bat file
    Open Notepad and copy-paste the following data in it.
    Quote:
    cd %1
    dir /a /b /-p /o:gen >C:filelist.txt
    start notepad C:filelist.txt
    You can edit the path to your preference.Now name this file anything you wish and save it anywhere you wish.
  2. Make file visible in right click context menu.
    Open explorer window,Go to Tools>Folder Options..>File types and from the registered file types list,select FOLDER.Click on Advanced>New....In the Action box,type in the name you want in context menu.For e.g. Generate File List..Then click on Browse..,navigate to the .bat file created in step 1 and save the changes.
  3. Congratulations!!
    You are done with the tutorial!!.Now right click any folder and select Generate File Listing.A text file will be created in your C: drive [or any path you specified in the .bat file.] called filelist.txt which contains list of all files and sub-folders in the parent folder!
Thanks to The Elder Geeks