beautypg.com

Avery Dennison 6037 Rev. AA 3/04 Programmer Manual User Manual

Page 50

background image

4-8 ROM-DOS Internal Commands

C A L L

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.

Example

s

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