beautypg.com

Avery Dennison 6035 Programmer Manual Rev.A 7/98 User Manual

Page 74

background image

3-16 ROM-DOS 6.22 User Manual

7/9/98

C A L L B a t c h S u b c o m m a n d

Internal

Purpose

CALL 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