help.hlp (Table of Contents; Topic list)
ECHO--Examples
Syntax  Notes
────────────────────────────────────────────────────────────────────────────
 
                               ECHO──Examples
 
The following example shows a batch program that includes a three-line
message preceded and followed by a blank line:
 
    echo off
    echo.
    echo This batch program
    echo formats and checks
    echo new disks
    echo.
 
If you want to turn ECHO off and you do not want to echo the ECHO command
itself, include an at sign (@) before the command, as follows:
 
    @echo off
 
You can use the IF and ECHO commands on the same command line, as follows:
 
    if exist *.rpt echo The report has arrived.
 
                                      ♦