CmdID

CmdID / Commands

call

Calls one batch program from another without stopping the parent batch program. Windows commands reference

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0

Calls one batch program from another without stopping the parent batch program. The call command accepts labels as the target of the call. NOTE: Call has no effect at the command prompt when it is used outside of a script or batch file.

call [drive:][path]<filename> [<batchparameters>]]
call [:<label> [<arguments>]]

To run the checknew.bat program from another batch program, type the following command in the parent batch program

call checknewIdentify

If the parent batch program accepts two batch parameters and you want it to pass those parameters to checknew.bat, type the following command in the parent batch program

call checknew %1 %2Identify
[<drive>:][<path>]<filename>Specifies the location and name of the batch program that you want to call. The <filename> parameter is required, and it must have a .bat or .cmd extension.
<batchparameters>Specifies any command-line information required by the batch program.
:<label>Specifies the label that you want a batch program control to jump to.
<arguments>Specifies the command-line information to be passed to the new instance of the batch program, beginning at :<label>.
/?Displays help at the command prompt.