Command Prompt for Windows




Command CALL

Function:

Run a second batch file, then return to the first batch file when the second batch file ends.

Syntax:

CALL [drive:][path]filename [batch-parameters]
[drive:][path]filenameBatch file name and location.
batch-parametersAny command line information that is used by the batch file.

Note:

When there is no need to return to the original batch file, then use the following syntax, without the CALL command :-

[drive:][path]filename [batch-parameters]

When the CALL command is used at the command prompt to run a batch file, the batch file will be executed in a separate window.

Also see command STOP and Batch Files.