Command
Type
Internal Batch Subcommand
Purpose
CALL invokes execution of a secondary batch Þle without exiting the primary
batch Þle. When the secondary batch Þle is done executing, control is returned to
the primary batch Þle.
Syntax
CALL batchfile [ batchfile arguments ]
Remarks
Parameters for the secondary batch Þle may also be included, if appropriate.
Examples
CALL BATCH2
This command executes the batch Þle BATCH2.BAT.
CALL MYBATCH FILEX FILEZ
This command executes the batch Þle MYBATCH.BAT. The arguments passed to
MYBATCH.BAT are:
%1 = FILEX
%2 = FILEZ
CALL
Chapter 5: ROM DOS Commands
5-19