Examples of comments, Syntax descriptions – HP XP Array Manager Software User Manual

Page 130

Advertising
background image

Description

Convention

Indicates that you must select one operand from the operands enclosed by the braces.
Two or more operands are enclosed by the braces and are delimited by vertical bars
(|).

{ }

Indicates that a previously used operand can be repeated.

...

Table 29 Syntax Descriptions

The Syntax Indicates that You Can Write the Following Script

Syntax

connect 123.01.22.33

connect

ip-address

destination

destination c:\temp

destination

[directory]

compress

compress yes

compress no

compress

[yes|no]

answer yes

answer no

answer

{yes|no}

ports

ports port-1

ports port-1 port-2

ports

[name][

...]

Notes on writing script in the command file
When you write script in your command file, be aware of the following:
• Ensure that only one command is used in one line.
• Empty lines in any command file will be ignored.
• Use a semicolon (;) To insert a comment in your command file. If you enter a semicolon in one

line, the remaining characters in that line will be regarded as a comment.

;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;

COMMAND FILE: command.txt

;;;;

;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
svpip 158.214.135.57

; IP address of SVP

login expusr "passwd"

; Log onto SVP

Figure 45 Examples of Comments

.

Viewing the online Help for commands
You can display the online Help to view the syntax of commands when you are working at the
command prompt. To view the online Help, you must use the help command of the Export Tool.
For detailed information about how to use the help command, see

help Subcom-

mand

” on page 156.

Using the Export Tool

130

Advertising
This manual is related to the following products: