If you ever want to know about the directory contents, you can always make a printable and readable file of directory contents. Follow the given procedure to automatically produce a list of directory contents.
- Press the Start menu button. Write cmd in the search field and press Enter. Right click cmd.exe from the search result and click on Run as Administrator.
- Type the command to go to the location folder. If the folder is located in the program files, you have to type the following command and press Enter.
cd c:program files
- Now type the following command
dir /s> Directory.txt
- If you want the list in tree format for easy understanding, type in following command instead of the above command.
tree> Tree.txt /A /F
This will create a text file with the name of directory.txt. You can find this file in the folder you just specified in the command prompt.














