Command Prompt for Windows




Command ECHO

Function:

Display a message or turns echo on or off.

Syntax:

ECHO [message]

or

ECHO [ON | OFF]
messageSequence of characters to display.
ONDisplay commands as they are carried out.
OFFDo 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, that is :-

ECHO.
When there is a space character between the command ECHO and the dot character, the output will display a dot character followed by a new line.

Also see command SAY and Batch Files.

Tip:

To prevent a single command in a batch file from being displayed, put an at sign (ie. '@') in front of the command, for example :-

@ECHO OFF