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

Page 151

Advertising
background image

7/9/98

ROM-DOS 6.22 Command Descriptions 3-93

P A U S E B a t c h S u b c o m m a n d

Internal

Purpose

Suspends the execution of a batch file and resumes operation when
any key is pressed.

Syntax

PAUSE [message]

Remarks

A batch job may require that you perform some action such as
changing disks, or choosing to continue or terminate the operation.
When the command processor encounters PAUSE, it suspends
execution and displays the message:

Strike a key when ready...

After you perform the appropriate action striking any key other than the
combinations <Ctrl><C> or <Ctrl><Break> resumes the batch job.

If you press <Ctrl><C> or <Ctrl><Break> at this point, ROM-DOS asks:

Terminate batch job (Y/N)?

Responding "Y" ends the batch job. Strategic placement of PAUSE,
combined with this query, allows you to divide the batch file into
sections so you can end it at some intermediate point.

message displays a reminder on the screen during the pause. Your
message precedes the "Strike a key" message. Note, however, that
your message appears only if ECHO is off.

Advertising