ECHO

Displays text on the console or enable or disable command repetition.

ECHO [ON | OFF]
ECHO [message]

Where:

  • ON - Turns on ECHO, that is, the current directory is displayed and commands executed from a batch file are visible.
  • OFF - Turns off ECHO, that is, it hides the current directory and only shows the result (i.e. the output) of the commands executed.
  • message - Displays the specified message.

Without parameters, displays the current ECHO setting.

Its use is exemplified in the section Batch filesBatch files.

Comments