B-3
ACU for DOS
Running the ACU Using Scripts
To use the ACU scripting features, use the
ACU
command, specify a
script file (see
Creating the Script File Manually
), and
specify one (but not both) of the
required
switches listed in the table
below. You may also add one or both of the optional switches listed
in the table.
Note:
Command line syntax is
not
case sensitive.
Switch
Type
Description
/P <file>
Required
Playback Mode
—In this mode, the ACU reads
the contents of the specified script file and creates
arrays and configures channel settings based on
the keywords defined in the script. For more
details, see
Note:
The ACU exits with an error if you do not
include either the
/P
or the
/R
switch (but not both).
/R <file>
Required
Record Mode
—The ACU writes a controller’s
existing array configuration to a specified script
file, enabling you to create the same configuration
by running the ACU in playback mode (
/P
switch) with the resulting script. For more details,
see
Note:
The ACU exits with an error if you do not
include either the
/P
or the
/R
switch (but not both).
/L <file>
Optional
Optional Log Filename Switch
—If you include
this switch, the ACU records its activity and any
errors it encounters in the log file. If you do not
include this switch, the ACU displays any status
and errors on the screen.
The
file
is a standard MS-DOS file, which can
include a drive, directory, filename, and extension.
Only the filename and extension (
.LOG
) are
required. If no drive or directory is specified, the
file is placed in the location of the ACU executable.
/C <number>
Optional
Optional Controller Number Switch
—In
systems with more than one controller, this switch
specifies which controller to change, where
<number>
is the controller number. The default
controller number is
0
.
Note:
The number assigned to a particular controller
depends on the controller’s physical PCI slot and the
order in which your system scans its PCI slots.