re: Question about 'Print Out a Directory Listing'
Friday, September 23, 2005 at 11:00 am Windows XP Annoyances Discussion Forum
Posted by borg
(2664 messages posted)
Windows\Command is specific to Win95/89/Me. Use C:\Windows instead. And change a
little that batch file like one of these:
cd /d %1
dir > lpt1
or
dir %1 > lpt1
You can avoid creating any batch file, just enter this command instead of c:\...\printcmd.bat:
%windir%\system32\cmd.exe /c dir %1 > lpt1
You can avoid using regedit, open C.Panel -> Folder Options -> File Types, scroll
to File Folder, Advanced, New, insert "Print" and the command above.
On Friday, September 23, 2005 at 10:40 am, Jessie L Beam wrote:
>I have a question about Print
>Out a Directory Listing:
>
>
>I tried to make this *.bat file but could not find the Windows\Command folder to
>put it into. I searched all of the window directory and all sub-directories but
could
>not find it. Could I put it into any directory assuming I change the paratemers.
>I use XP pro
|
All messages in this thread [show all]
 |  | re: Question about 'Print Out a Directory Listing' (borg: Fri, Sep 23, 2005, 11:00 am) |
| |
| |
Return to the Windows XP Discussion Forum
|
|