home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / batch / summary.hlp < prev   
Encoding:
Text File  |  1989-01-01  |  1.0 KB  |  23 lines

  1.  
  2.     [d:][pathname]filename [value1 [value2 ... [valueN]]]
  3.  
  4. filename is the name of the BATCH file, without the .BAT extension. [d:] and
  5.     [pathname] are optional. A BATCH file cannot have the same name as a DOS
  6.     command. DOS searches directories in the PATH variable for .BAT files.
  7.  
  8. value1 ... valueN are the optional values to be substituted for the
  9.     replaceable parameters (if any) in the BATCH file.
  10.  
  11.  BATCH COMMAND    WHAT IT DOES
  12.  
  13.     CALL*      execute a BATCH file as a subroutine.
  14.     ECHO      displays something on the screen or the printer.
  15.     EXIT      terminates processing.
  16.     FOR          repeats a command for a set of values.
  17.     GOTO      transfers control to a BATCH label.
  18.     IF          conditionally executes a command.
  19.     PAUSE      halts the computer until you respond.
  20.     REM          records notes and comments in a BATCH file.
  21.     SET          assigns a value to an environment variable.
  22.     SHIFT      reduces the number of BATCH values in use.
  23.