|
|
|
re: Question about 'Print Out a Directory Listing'
Friday, September 23, 2005 at 11:00 am 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
[Reply or follow-up to this message]
|
re: Question about 'Print Out a Directory Listing'
Sunday, October 2, 2005 at 10:19 am Posted by John
(1 messages posted)
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.>
I tried the above in XP Pro and it does not work. A cmd session opens & closes quickly
with no printout.
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
[Reply or follow-up to this message]
| |
Tip: Use one of the [Reply or follow-up to this message] links above to add a message to this thread
| |
Return to the Windows XP Discussion Forum
|
|
|
|