4-8 ROM-DOS Internal Commands
CALL
Batch File, Internal Command
The CALL command invokes execution of a secondary batch file without
exiting the primary batch file. When the secondary batch file is done
executing, control is returned to the primary batch file.
Syntax
CALL batchfile [batchfile arguments]
Remarks
Parameters for the secondary batch file may also be included, if
appropriate.
Examples
CALL BATCH2
Executes the batch file BATCH2.BAT.
CALL MYBATCH FILEX FILEZ
Executes the batch file MYBATCH.BAT. The arguments passed to
MYBATCH.BAT are
%1 = FILEX
%2 = FILEZ