home *** CD-ROM | disk | FTP | other *** search
-
- [d:][pathname]filename [value1 [value2 ... [valueN]]]
-
- filename is the name of the BATCH file, without the .BAT extension. [d:] and
- [pathname] are optional. A BATCH file cannot have the same name as a DOS
- command. DOS searches directories in the PATH variable for .BAT files.
-
- value1 ... valueN are the optional values to be substituted for the
- replaceable parameters (if any) in the BATCH file.
-
- BATCH COMMAND WHAT IT DOES
-
- CALL* 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.