How To Print Out A List Of All Files In A Folder

11 views
Skip to first unread message

Selva Ganesh

unread,
Aug 24, 2012, 12:22:43 PM8/24/12
to RoyalItcians@google, royalitc...@yahoogroups.co.in

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 knowhow 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

cmd

After this list.txt created in E:movies
list of files cmd

List.txt looks like this

Nellai Samurai

Reply all
Reply to author
Forward
0 new messages