beautypg.com

HP XP Array Manager Software User Manual

Page 406

background image

Omit

Multiple
specifica-
tion

Meaning and specifiable values

Entry name

Not allowed

Not allowed

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 command line.

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:\WINNT\System32\cmd.exe /c dir

.

To redirect processing, you must specify

C:\WINNT\System32\cmd.exe

/c.

If you specify

.exe, .com

,

.cmd

, or

.bat

as the file extension, the com-

mand 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 ex-
tension (file type). Do not specify an executable file that will display a window
or message and will make the system wait for a response.

CMDLINE

Allowed

Allowed

Specifies the environment variables to be applied for execution of the specified
command.

Only one environment variable is allowed per line.

The name and value of an environment variable must be separated by a one-
byte equal sign (

=

).

One environment variable definition can consist of up to 2048 characters.

If you omit the value for the environment variable, the environment variable
is deleted. For example, the environment variable ABC is deleted when you
specify

ENV=ABC=

.

The

ENV

setting is valid only for the target command. Note that the subsequent

command does not inherit the setting contents.

Even if you specify an environment variable that contains a percent sign (

%

),

the contents are not extracted. For example, if you specify

ENV=ABC=%PATH%

,

the character string

%PATH%

is specified in the environment variable

ABC

.

ENV

Managing application replicas

406