|
|
|
Print Out a Directory Listing
| Intended For |
Windows Vista
Windows XP
Windows 2003
Windows 2000
Windows Me
Windows 98
Windows 95 |
|
Although there is no built-in way to print a directory listing (all the filenames in a folder), there is a way to add this functionality to Windows.
Here's how you do it:
Solution #1:
- Obtain and install the Copy to Clipboard as Filename utility.
- This allows you to select all the files in a folder, in Explorer, or in the Find window results list, right-click on them, select Send To and then Clipboard as Filename.
- You can then paste the listings into a text editor, such as Notepad, for printing or saving.
A similar tool is also available as part of O'Reilly Utilities and Creative Element Power Tools.
Solution #2:
- Open a text editor, such as Notepad, and type the following lines into a new document: (assuming the printer you wish to use is connected to printer port #1).
CD %1
DIR >LPT1
- Save the two-line file into your Windows\Command folder, and call it PRINTDIR.BAT.
- Find the file in Explorer, right click on it, and select Properties.
- Click on the Program tab, turn on the Close on Exit option, choose Minimized from the Run list, and click Ok.
- Next, run the Registry Editor (REGEDIT.EXE).
- Open My Computer\ HKEY_CLASSES_ROOT\ Directory\ shell.
- Select New from the Edit menu, and then select Key.
- Type Print for the name of this new key, and press Enter.
- Highlight the new Print key, select New from the Edit menu, and then select Key again.
- Type command for the name of this new key, and press Enter.
- Double-click on the (default) value in the right pane, and type C:\Windows\Command\PRINTDIR.BAT (assuming that C:\Windows\ is your Windows folder).
- From now on, when you right-click on a folder icon, you can click Print to print its contents.
- Note: this assumes that your printer is connected to the LPT1 port, which is true for most users. However, if your printer is connected over a network or you have more than one printer, you need to change LPT1 to the correct port.
Written by: Annoyances.org Last updated: Wednesday, February 7, 2007
| |
Previous discussions about this article: (open a message to see applicable responses, if any)
- [Windows 98] Question about 'Print Out a Directory Listing' (misters: Sunday, October 28, 2001)
- [Windows ME] Question about 'Print Out a Directory Listing' (James Pfeiffer: Thursday, November 8, 2001)
- [Windows XP] Question about 'Print Out a Directory Listing' (Dave®: Tuesday, November 20, 2001)
- [Windows 98] Question about 'Print Out a Directory Listing' (Robert Kruger: Sunday, December 23, 2001)
- [Windows XP] Question about 'Print Out a Directory Listing' (Luke: Saturday, January 5, 2002)
- [Windows XP] Question about 'Print Out a Directory Listing' (Bob: Tuesday, February 5, 2002)
- [Windows 2000] Question about 'Print Out a Directory Listing' (Chuck: Monday, April 8, 2002)
- [Windows Me] Question about 'Print Out a Directory Listing' (Benjamin: Friday, June 28, 2002)
- [Windows 98] comment about 'Print Out a Directory Listing' (Cliff: Friday, October 4, 2002)
- [Windows XP] Guys, check out this MS kb article (richard may: Wednesday, November 6, 2002)
- [Windows 98] Comment about Printing Directory Listings (Manasseh Katz: Thursday, November 14, 2002)
- [Windows XP] Question about 'Print Out a Directory Listing' (rwk: Friday, February 14, 2003)
- [Windows 2000] 'Print Out a Directory Listing' in Win2000 (NFX: Saturday, March 29, 2003)
- [Windows 98] Question about 'Print Out a Directory Listing' (Dick Stouffer: Friday, April 4, 2003)
- [Windows 2000] Question about 'Print Out a Directory Listing' (J. Michael Race: Monday, August 4, 2003)
- [Windows XP] Question about 'Print Out a Directory Listing' (John Bannon: Tuesday, September 23, 2003)
- [Windows 98] Question about 'Print Out a Directory Listing' (nick varley: Friday, January 2, 2004)
- [Windows 98] Question about 'Print Out a Directory Listing' (Jacquie: Wednesday, April 27, 2005)
- [Windows XP] Quickie tip 'Print Out a Directory Listing' (GryOwl: Friday, June 24, 2005)
- [Windows XP] How to delete 'Print Out a Directory Listing' ? (Paul Wright: Wednesday, September 14, 2005)
- [Windows XP] Question about 'Print Out a Directory Listing' (Jessie L Beam: Friday, September 23, 2005)
- [Windows 98] Question about 'Print Out a Directory Listing' (JTor: Monday, October 2, 2006)
- [Windows XP] Firefox is the easiest and fastest solution to print out a directory listing (Thomas Baggins: Thursday, January 17, 2008)
- [Windows Vista] Question about 'Print Out a Directory Listing' (Bill Rose: Monday, March 24, 2008)
- [Windows XP] Question about 'Print Out a Directory Listing' (TommyBoyz8: Friday, April 25, 2008)
| |
Return to "Using Windows"
|
|
|
|