home *** CD-ROM | disk | FTP | other *** search
- Batch File Commands
-
- Several of the commands are useful directly from the keyboard as well as in
- BATCH files. Press the Enter, Return, or <──┘ key three times to return to the
- "TOPIC?" prompt. Then read the BATCH_COMMANDS subtopics for more information.
-
- DOS COMMAND WHAT IT DOES
-
- CALL* execute a BATCH file as a subroutine.
- COMMAND execute the COMMAND.COM program, possibly
- to execute a BATCH file as a subroutine.
- ECHO displays something on the screen or the printer.
- EXIT terminates processing.
- FOR repeats a command for a set of values.
- GOTO transfers control to a BATCH label.
- IF conditionally executes a command.
- PAUSE halts the computer until you respond.
- REM records notes and comments in a BATCH file.
- SET assigns a value to an environment variable.
- SHIFT reduces the number of BATCH values in use.