Index | Notes | Examples Batch


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.
-Top- | Notes | Examples Batch