Official website of R Om Prakash: How to Print out a list of all files in a folder Welcome to my website. I hope you find the information here relevant and useful.If you have any suggestions as to how I might further enhance my website, please do not hesitate to contact me @ rdeepak4@sify.com Software piracy is theft. If you're looking for illegal files, such as crack, password, serial numbers, registration codes, key generators you're exposing to the risk of having your computer infected with viruses.Thank you !

Tuesday, February 4, 2014

How to Print out a list of all files in a folder

In this simple tutorial, I´ll show you how to print out a list of files in a folder. There is plenty of shareware programs which can do this, but I think that the simplest way to do this is with using Command Promt ( cmd).

1. Go to Start, then click Run. In Run option type cmd and click OK.
2. After this will open cmd.exe ,find folder which you want to print out with cmd, If you do not know how to move through the directories using cmd, see this post: How to find directories with cmd.
3. When you find specified folder, with this command dir > list.txt, you´ll create text document with list of files.
Example:
I want to print list of all files in folder with path E:\movies
In cmd I´ll write E: and press enter , then write cd and with TAB find folder movies and press enter . Then write dir > list.txt In folder with path E:\movies I will find text document list. txt . Open that text document and print out. It looks like this


After this list.txt created in E:movies



List.txt looks like this


No comments:

Post a Comment