Used to print messages to the screen, and turn batch file displaying on or off.

   echo [on|off]
   echo message

Usage 1

   echo [on|off]
With echo on, command lines in the batch file are displayed as they are run. With echo off they are hidden. This does not affect the output of the command itself.
If echo is used on its own, the status of whether echo is on or off is displayed.

Usage 2

   echo message
Displays the given message.


Commands can also be suppressed by beginning them with the @ symbol. For example:
   @rem this line won't output a single thing.

See Also

batch files
Copyright © 2003 Rob Platt
This file forms part of The FreeDOS HTML Help Documentation, and is covered under its terms: see index.htm