HP StorageWorks Storage Mirroring Recover Scripting Guide (T5437-96009, November 2009)
297 of 332
Script Test
Command SCRIPT TEST
Description Tests a mirroring script
Syntax
SCRIPT TEST <machine> <path> [arguments]
[INTERACT|NOINTERACT]
Options
● machine—Name of the machine where you want to execute
the script as a test
● path—Specify the full path and file name (including the file
extension) to the mirroring script. Do not include arguments
with the path, only the path and file name. Enclose the path in
quotation marks.
● arguments—Specify any arguments, valid for your script, that
are required to execute your script.
● INTERACT—Display script processing on the screen
● NOINTERACT—Do not display script processing. Execute
the script silently in the background
Examples
script test beta "C:\Program Files\StorageWorks\Storage
Mirroring\Scripts\MirrorStartScript. bat" "arg1 arg2" interact
Notes
● The default setting for this command is nointeract.
● The file name you specify for your script should be the
primary executable of the command being run. If you are
using a command shell to execute a script, put the command
shell execturable as the script file name and pass another
script name in as an argument.
● Multiple arguments need to be enclosed in quotation marks
and separated by a space. Also, if an argument contains non-
alphanumeric characters, you must enclose it in quotation
marks. Arguments cannot contain nested quotation marks.
Therefore, if you are passing more than one argument to your
script, none of the arguments can require quotation marks. To
work around this limitation, you can use 8.3 file naming.
● Machine names that contain non-alphanumeric characters
must be enclosed in quotation marks.