oem.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
ECHO
Notes  Examples
────────────────────────────────────────────────────────────────────────────
 
                                    ECHO
 
Displays or hides the text in batch programs when the program is running.
Also indicates whether the command-echoing feature is on or off.
 
When you run a batch program, MS-DOS typically displays (echoes) the batch
program's commands on the screen. You can turn this feature on or off by
using the ECHO command.
 
Syntax
 
    ECHO [ON|OFF]
 
To use the echo command to display a message, use the following syntax:
 
    echo [message]
 
Parameters
 
ON|OFF
    Specifies whether to turn the command-echoing feature on or off. To
    display the current ECHO setting, use the ECHO command without a
    parameter.
 
message
    Specifies text you want MS-DOS to display on the screen.
 
Related Command
 
For information about suspending the execution of a batch program, see the
<PAUSE> command.
 
                                      ♦