Free Information Technology Magazines and eBooks

Thursday, May 20, 2010

How to Print Contents Of Any Windows Folder

Sometimes you need to print the content listing of a Windows folder. For ordinary users, the most feasible way to do it is by hitting the "Print Screen" button and pasting the captured image of the folder into Word or Paint. But the problem is, the screenshot method won't be able to capture all content of a folder that has many files/folders on it. Another issue is, you can't copy-and-paste the file/folder names as text since your working with a screenshot image. Fortunately, Microsoft Windows has a built-in way to get the listing in plain text. Here's how.

1. Run the command prompt as Administrator by going to Start>All Programs>Accessories then Right click on Command Prompt and select Run As Administrator from the menu.

Run the command prompt as Administrator

2. Now go to your desired folder by using the DOS command "cd" (change directory). For example, to go to test folder type the following:
cd\test

3. Next clear the screen by typing "cls" and enter.

4. Last step is to copy the content of the folder into a text file by using the command "Dir> [filename]".
For example: dir> test.txt

How to Print Contents Of Any Windows Folder

5. Now open test.txt from Windows Explorer. There you have it! you can print the text file any printer.

To stay up-to-date on Windows Tips, subscribe now.

0 comments: