home *** CD-ROM | disk | FTP | other *** search
- -------------------- ECHO - Internal Batch Subcommand -----------------------
-
- ECHO allows or inhibits the display of each command as it is executed from a
- batch file.
-
- FORMAT: ECHO [ON | OFF | message]
-
- REMARKS:
-
- ON - turns on the display of batch commands.
- OFF - turns off the display of batch commands.
- message - displays "message" regardless of the current ON/OFF state.
-
- By default, ECHO is set to ON when DOS is started. ECHO with no parameters
- displays the current ECHO state, ON or OFF. ECHO OFF does not suppress
- messages produced from an executing command.
-
- EXAMPLE:
-
- In the sample batch file below, ECHO OFF turns off the display of batch lines.
- The two lines after ECHO OFF will not be displayed when they are processed.
-
- ECHO OFF
- REM This batch file prints a directory listing
- DIR > PRN