CALL
Calls a batch program from another batch program or calls a label from the same batch file.
Syntax for calling a batch program from another batch program:
CALL [drive:][path]filename [arguments]
Syntax for calling a label from the same batch file (similar to GOTOGOTO):
CALL :label [arguments]
Where:
[drive:][path]filename
- Specifies the name of the batch file to call.:label
- Specifies the name of the label to which the command interpreter should move.arguments
- Specifies the arguments to pass to the batch file or label (see SHIFTSHIFT for how arguments work and FORFOR for the expansion of replaceable parameters).
For examples of its use, see the section Batch filesBatch files.
Comments