CRUN - execute a command file.

Syntax:

crun infile;outfile[;options]*

Examples:

crun file;otfile
crun "wmi\wuse fbaggins";otfile
crun file;otfile;exclude;restart

Options:

(arg1,arg2,...,argn)
are substitutable arguments.
nnnn
is the maximum processor time limit in seconds. The default is 300 seconds (usually ample).
ARG/x
specifies "x" as the substitutable argument character. The default character is "#".
DEL/x
deletes all characters "x" from input file.
EXC
excludes user responses in CRUN output.
RES
tells the system to restart the CRUN if there is a system interruption.
Upper
puts output in upper case.
Lower
puts output in lower case.

Description:

CRUN executes commands found in the sequential ASCII file "infile" or in a command string enclosed in quotes ("). The command string may consist of a number of commands separated by backslashes and/or ampersands.

CRUN output is placed in the file "outfile" if specified; otherwise it is directed to the terminal. If the filename "*null" is given, the output is thrown away.

The following special directives may appear within the command file:

$*$TALK         <- switch to terminal
$*$FILE         <- switch back to command file
$*$USER         <- accept one line
$*$MARK         <- remark displayed on terminal
$*$QUIT         <- give up
$*$TRAP         <- abort if DRL T.ERR or TSS error
$*$TRAP OFF     <- don't abort command file
$*$REM          <- comment (also ignored by CPOS)
$*$NULL         <- line with <cr> only
$*$COPY [OFF]   <- control copying to terminal
$*$DELE [OFF]   <- control writing of output
$*$BRK          <- simulate a break
$*$LBL          <- define a label for use by CPOS

See Also:

expl cmdf, expl drun

Copyright © 1996, Thinkage Ltd.