[net.micro.pc] DOS patch for batch files wanted.!!

john@uwmacc.UUCP (john jacobsen) (04/16/86)

_______***____________________________***______________________***________

HI! Does anyone out there know of a patch for IBM PC-DOS COMMAND.COM that will
set the default state of BATCH file processing regarding ECHO ON/OFF to be OFF
rather than ON?  If you know, please mail me in reply using above path or post
to everyone.  Thanks in advance, 

                                     John E. Jacobsen
                                     UWisconsin-Madison Academic Comp. Ctr.

"So long and thanks for all the fish."

brown@nicmad.UUCP (04/18/86)

In article <2112@uwmacc.UUCP> john@uwmacc.UUCP (john jacobsen) writes:
>_______***____________________________***______________________***________
>
>HI! Does anyone out there know of a patch for IBM PC-DOS COMMAND.COM that will
>set the default state of BATCH file processing regarding ECHO ON/OFF to be OFF
>rather than ON?  If you know, please mail me in reply using above path or post
>to everyone.  Thanks in advance, 

Unfortunately you didn't say what version PC-DOS you are using.  IT DOES MAKE
A DIFFERENCE.

For PC-DOS 3.10, here are two different ways of supposidly doing it:

1. DEBUG COMMAND.COM
   -E 1967<cr>
   xxxx:1967  01.00<cr>
   -W<cr>
   -Q<cr>

   Note 1:  The default for AUTOEXEC.BAT files will still be ECHO OFF.
   Note 2:  If the last thing done in a .BAT file is to do ECHO ON, then
            you will get two prompts at exit.

2. DEBUG COMMAND.COM
   -E 105B<cr>
   xxxx:105B  03.02<cr>
   -W<cr>
   -Q<cr>

REMEMBER:  the above is for PC-DOS 3.10
-- 

              ihnp4------\
            harvard-\     \
Mr. Video      seismo!uwvax!nicmad!brown
              topaz-/     /
             decvax------/

few@well.UUCP (04/19/86)

In article <2112@uwmacc.UUCP> john@uwmacc.UUCP writes:
>HI! Does anyone out there know of a patch for IBM PC-DOS COMMAND.COM that will
>set the default state of BATCH file processing regarding ECHO ON/OFF to be OFF
>rather than ON?

Once again, one of my favorite patches (for D*S 3.1):
	debug command.com
	e 1967 0
	w
	q
-- 
Frank Whaley
EFS Management Software, Inc.
UUCP:		hplabs!
	   ihnp4!ptsfa!
	seismo!lll-crg!well!few
ARPA:	well!few@lll-crg.ARPA

keifer@uiucdcs.CS.UIUC.EDU (04/19/86)

From a previously posted note, courtesy of G. Seaburg, c/o keifer@uiucdcsp:

 
/* Written  2:56 pm  Jan 18, 1986 by nather@utastro.UUCP in uiucdcs:net.micro.pc */
/* ---------- "PC-DOS 3.1 and "echo off"" ---------- */
 
I am using a patched version of command.com for PC-DOS 2.1 that
sets the batch file interpreter to the "echo off" condition by default, and
it is great!  .bat files run silently, without screen chatter, as they
should.
 
For several reasons (none very good) I'd like to use PC-DOS 3.1, but not at
the expense of bat-chatter.  If anyone knows how to patch the 3.x command.com
so it runs .bat files silently, please send it to me, or post it to the net.
The patch for 2.x I am using does not work on 3.x (*sigh*).  I have a kludge
that erases the "echo off" which is echoed when the batch command "echo off"
is executed, but it is irritating after getting used to the real thing.
 
Thanks.
Ed Nather
Astronomy Dept, U of Texas @ Austin
{allegra,ihnp4}!{noao,ut-sally}!utastro!nather
nather@astro.UTEXAS.EDU
/* End of text from uiucdcs:net.micro.pc */
/* Written 12:51 pm  Jan 21, 1986 by connery@bnrmtv.UUCP in uiucdcs:net.micro.pc */
From Compuserve... the patch for echo off is as follows:
 
   debug COMMAND.COM
   -E 1967<cr>
   xxxx:1967  01.00<cr>
   -W<cr>
   -Q<cr>
 
Seems to work just perfectly--it doesn't have the bug some other patches
exhibit which disables the prompts during a nested COMMAND.COM session.
 
Glenn
/* End of text from uiucdcs:net.micro.pc */