Tiplord Windows 95 &Windows 98 Tips


Bookmark me Annoyances Boot Disks Customizing Device Manager
FAQ Hardware Networking Setup Switches Shortcuts
Software Help Updates Tip Ring Home

Print Out a Directory Listing


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 Windows95. Here's how you do it:

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
echo Alt + 012 >prn

  1. Save the two-line file into your Windows\Command folder, and call it PRINTDIR.BAT.
  2. Find the file in Explorer, right click on it, and select Properties.
  3. Click on the Program tab, turn on the Close on Exit option, choose Minimized from the Run list, and click Ok.
  4. Next, run the Registry Editor (REGEDIT.EXE).
  5. Open My Computer\ HKEY_CLASSES_ROOT\ Directory\ shell.
    Select New from the Edit menu, and then select Key.
  6. Type Print for the name of this new key, and press Enter.
  7. Highlight the new Print key, select New from the Edit menu, and then select Key again.
  8. Type command for the name of this new key, and press Enter.
  9. Double-click on the (default) value in the right pane, and type C:\Windows\Command\PRINTDIR.BAT (assuming that C:\Windows\ is your Windows95 directory).

From now on, when you right-click on a folder icon, you can click Print to print its contents.