How to print file contents of a directory

Posted: June 9, 2010 in Windows

The following steps will help you to print the directory and its contents with folder paths.

1. Open Command Prompt

0

2. Go to the directory for example: if you want to print the contents of E drive, then type in command prompt: E:

3. Press enter

1

4. In Command Prompt, type: dir/b/s > print.txt

2

5. Go to the E drive and you will find Print.txt (Notepad file)

3

6. Open the print.txt (Notepad File) and you will find the files and folders listed.

4

Leave a comment