HP XP7 Replication Manager Application Agent CLI User Guide (TK981-96015, May 2014)
Omission
Multiple
specifica-
tion
#1
Meaning and specifiable valuesEntry name
Not allowed
Not al-
lowed
Specifies a command line to be executed.
• If you want to specify an option, separate the command name
and the option with a one-byte space character.
• One command definition section must contain only one
command line.
• A maximum of 2048 characters can be specified on a com-
mand line.
#6
• A path or file name containing one or more spaces must be
enclosed in double quotation marks (").
• Command and file names must be specified using absolute
path names. However, nested double quotation marks (")
cannot be specified.
• Do not include any environment variable in a command name
or command path name (for example, a specification like
%SystemRoot%\notepad.exe is not allowed).
• If you want to use a shell command such as dir, execute it
as a child process of cmd.exe. An example is C:\WIN-
NT\System32\cmd.exe /c dir.
• To redirect processing, you must specify C:\WINNT\Sys-
tem32\cmd.exe /c.
• Specify a command that does not conflict with resources used
by Application Agent. For example, when executing backup
by using the remote copy function with the -rc and -script
options specified, do not use the user script to perform an
operation on the same remote pair volume.
• Application Agent commands can be specified only in the
[POST_PROC] section and in the [PRE_PROC] section of
the script executed on the backup server. If a Application
Agent command is specified in any other section, the com-
mand results in an error.
• If you specify .exe, .com, .cmd, or .bat as the file exten-
sion, the command line is executed as is. If you specify an
extension other than the above, the command line is executed
using the application associated with the extension (file
type).
#10
• Do not specify an executable file that will display a window
or message and will make the system wait for a response.
CMDLINE
#5
Application Agent CLI User Guide 205