Annoyances.org
Home » Windows XP Discussion Forum » Message 1127498420 Search | Help | Home
  
Tip: Run a free scan for common Windows errors ad

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


Written in response to:
Question about 'Print Out a Directory Listing' (Jessie L Beam: Friday, September 23, 2005 at 10:40 am)

There are presently no replies to this message.

All messages in this thread [show all]
-Question about 'Print Out a Directory Listing' (Jessie L Beam: Fri, Sep 23, 2005, 10:40 am)
*re: Question about 'Print Out a Directory Listing' (borg: Fri, Sep 23, 2005, 11:00 am)
*re: Question about 'Print Out a Directory Listing' (John: Sun, Oct 2, 2005, 10:19 am)
Return to the Windows XP Discussion Forum


All content at Annoyances.org is Copyright ©1995-2012 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.