[net.micro.pc] How do you set echo off in MS-DOS?

reintom@rocky2.UUCP (Tom Reingold) (05/15/86)

I just got a Zenith 158 PC at work.  It came with MS-DOS 3.1.  Does
anyone know if this corresponds to PC-DOS 3.1 or 3.2?  It has a
program called SHARE so I think it may be 3.2.

The reason I ask is that I began to do the patches to COMMAND.COM
to turn echo off as a default and did not get the expected values
while using DEBUG.  Needless to say, I did not go ahead and make
the changes because who knows what would have happened?

Does anyone have the patch for this version of DOS?  I want to turn
echo off during batch files and during the AUTOEXEC.BAT.  I notice
that ECHO prints a blank line if the batch file has a couple of
blank lines after the word ECHO, so I don't need a patch for this.

Better yet, is there an *ALGORITHM* for finding where the change
needs to be made and what to change and to what?  Such a thing
would be nice to work for all versions.

Thanks much.


Tom Reingold
Rockefeller University
New York City
UUCP:    {seismo|ihnp4}!cmcl2!rna!rocky2!reintom
BITNET:  REINTOM@ROCKVAX
ARPANET: reintom@rockefeller.arpa