home *** CD-ROM | disk | FTP | other *** search
- SAMPLE command | Comments about the output
-
- ECHO This command displays the current setting of
- ECHO, either ON or OFF.
-
- ECHO OFF This command turns ECHO off. Subsequent
- commands executed in the BATCH file or entered
- directly from the keyboard will not be shown
- on the screen until an ECHO ON command is
- executed or the BATCH file terminates.
-
- ECHO ON This command turns ECHO on.
-
- ECHO message This command will display message on the
- screen, whether echo is on or off.
-
- ECHO message > PRN This command will write message to the printer
- rather than displaying it on the screen.
-
- :loop This loop in a BATCH file will slowly fill
- ECHO >> filler up your disk with a string of "ECHO is off"
- GOTO loop messages.
-
- ECHO. On many versions of DOS, this command will
- display a blank line on the screen. ECHO: also
- usually works.
-
- @ECHO OFF In DOS 3.3 and later, this command will turn
- ECHO off, without printing this command. This
- is useful if you want to have a "silent" batch
- file that does not echo ANY of the commands in
- it, including the one which turns ECHO off.
-
- ECHO OFF Placing these two commands at the beginning of
- ECHO $e[80D$e[A$e[K$e[A a batch file will briefly flicker the words
- ECHO OFF on screen, but otherwise produce a
- "silent" batch file. The use of "$e[" in the
- second ECHO command is explained in the PROMPT
- ESCAPE_SEQUENCES topic. A line DEVICE=ANSI.SYS
- in the CONFIG.SYS file is also required.