home *** CD-ROM | disk | FTP | other *** search
- CLS
- ECHO You saw no "ECHO OFF" command in this batch file when it began to execute...
- ECHO Now, I'm going to turn ON the echo so that you can see what's goign on, and
- ECHO that is that this same TEST.BAT file is going to be typed to the screen.
- ECHO
- ECHO Please, press any key when you are ready....
- PAUSE >NUL
- ECHO
- ECHO
- ECHO ECHO ON
- REM
- REM
- TYPE TEST.BAT
- REM
- PAUSE
- REM
- ECHO OFF
- CLS
- ECHO
- ECHO The echo has now been turned off again, and the next line should be blank.
- ECHO
- ECHO It is blank, isn't it?
- ECHO
- PAUSE
- CLS
- ECHO With the patch you just applied, you don't have to type "ECHO OFF" and "CLS"
- ECHO as your first two batch commands, because the ECHO now DEFAULTS to OFF when
- ECHO batch files are executed. Also, to leave a blank line in a batch file, all
- ECHO you do is type "ECHO", then type two blank spaces, and press Enter, just
- ECHO like you did through DOS 3.00.
- ECHO
- ECHO Beginning with the unpatched DOS 3.10, the command "ECHO" followed only by
- ECHO blank spaces was intepreted as an inquiry as to the status of the echo, and
- ECHO DOS responded with "ECHO is on" or "ECHO is off". Not any more...!
-