Dec 132017
 
Make ECHO OFF the default for batch files in DOS 5.0. Debug script.
File ECHOPA.ZIP from The Programmer’s Corner in
Category Tutorials + Patches
Make ECHO OFF the default for batch files in DOS 5.0. Debug script.
File Name File Size Zip Size Zip Type
ECHOPA.TXT 891 515 deflated

Download File ECHOPA.ZIP Here

Contents of the ECHOPA.TXT file



PATCH FOR MS-DOS 5.0's COMMAND.COM:
(COMMAND.COM file date and size: 4/9/91, 5:00 am; 47,845 bytes)
Purpose:
To make ECHO OFF the default for .BAT files, including AUTOEXEC's.

DEBUG COMMAND.COM
-e 1A84
xxxx:1A84 03.02
-e 2AD3
xxxx:2AD3 01.00
-w
-q

The first byte that is changed (03 => 02) is the last byte in the 5-byte string
'C6 06 A6 02 03', which is a MOV BYTE PTR [02A6],03 instruction. The second
of the two changed bytes (01 => 00) is the second byte in '24 01', or an
AND AL,01 instruction.

This patch should be done on a floppy-disk copy of COMMAND.COM, tested, and
then transferred to your hard disk (or boot disk). I have tried this patch on
my system, and it seems to work fine. This patch should work for everybody,
but I have no way of knowing for certain.


 December 13, 2017  Add comments

Leave a Reply