|
|
|
Comment about Printing Directory Listings
Thursday, November 14, 2002 at 4:02 pm Windows 98 Annoyances Discussion Forum
Posted by Manasseh Katz
(1 messages posted)
3 comments:
1) The instructions include putting in a key of:
c:\windows\command\printdir.bat
I found that was printing the Windows Desktop no matter what directory I was in,
so I changed it to
c:\windows\command\printdir.bat %1
I suspect that is necessary for all versions of Windows.
2) I was trying to do this on a computer with a USB connected HP OfficeJet. These
printers simply don't know how to print from DOS.
I came up with a solution:
(New PRINTDIR.BAT)
@echo off
cd %1
dir/on>c:\$dummy$.$$$
c:\windows\notepad.exe /p c:\$dummy$.$$$
This does the directory into a file and then uses notepad to print the file to the
default printer, which should work no matter how the printer is connected.
3) I set the Properties of PRINTDIR.BAT to "Close on Exit" so that it would disappear
automatically.
|
Responses to this message:
|
|
All messages in this thread [show all]
 | Comment about Printing Directory Listings (Manasseh Katz: Thu, Nov 14, 2002, 4:02 pm) |
| |
| |
Return to the Windows 98 Discussion Forum
|
|
|
|