Microsoft didn't include an option within My Computer or Windows Explorer that lets us print out the File Names within a Directory Folder. As a result, one has to resort to the pen and paper to write down the file names. Well you can now throw away the pen and paper and be thankful for good old MS-DOS. Therefore, this technical brief will show you how to print out the file contents of a directory folder of your choosing.
Printing The Contents Of Any Directory Folder
- For our demonstration, we will print out the file names of the Windows directory.
- Begin by first clicking on the Start Button.
- Then click on the Run Icon, which will open up the Run Menu for you.
- Locate the white area of the screen next to the word Open: in the Run Menu.
- Now type in the word Command and click on the OK button at the bottom of the screen.
- This will open up the DOS Command Prompt window for you.
- At the command prompt, type in CD/WINDOWS and press the Enter key on your keyboard.
- This Change Directory DOS command will take you to the Windows Directory.
- At the C:\Windows command prompt, type in Dir >PRN and press the Enter key on your keyboard.
- All the File Names within the Windows directory will be sent to your printer and begin printing.
- You can also send the File Names within the Windows directory to a text file as well.
- At the C:\Windows command prompt, type in Dir >Files.txt and press the Enter key.
- The file entitled Files.txt will be located in your Windows directory for you to retrieve.
- When you are finished, close the Command Prompt Screen by typing the word Exit and press Enter.
Note: This Technical Brief Will Work For All Operating Systems Including Windows XP.