The description below is from the book DOS the
Easy Way by Everett Murdock Ph.D.
for information about downloading the book.
Type: Internal (2.0 and later)
Purpose: Turns on or off the display of commands in a batch
also be used to display a message in a batch file.
Normally, commands in a batch file are displayed as the batch file runs.
OFF turns off this feature. ECHO ON turns the display feature back on.
If you enter the ECHO command with no options , the program will display
current ECHO setting.
For more information on ECHO and other batch commands, see Chapter 5,
Using Batch Files, in the downloadable
book DOS the Easy Way . A variety of examples are
presented in that chapter and in Chapter 6, Tips for Advanced Users.
If you want to display the message This is file one during the execution
batch file, but you do not want to display the commands being acted upon,
echo This is file one
Notice that you do not have to surround the message with quote marks as
is required in BASIC and other programming languages.