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--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.
 
                                      ♦