Command ECHO
Function:
Display a message or turns echo on or off.
Syntax:
ECHO [message]
or
ECHO [ON | OFF]
| message | Sequence of characters to display. |
| ON | Display commands as they are carried out. |
| OFF | Do not display commands as they are carried out. |
Note:
- Type ECHO with no parameters to display whether echo is no or off.
- To display a blank line type ECHO followed by a dot character :-
ECHO.
- Also see command SAY and Batch Programs.
Tip:
- To prevent a single command in a batch program from being displayed, put an at sign in front of the command, for example :-
@ECHO OFF
|