Export Tool command syntax

This topic explains the syntax of Export tool subcommands that you can write in your command file. This topic also explains the syntax of the Java command that should be used in your batch file.

Conventions

The following conventions are used to explain syntax:

Convention

Description

bold

Indicates characters that you must type exactly as they are shown.

italics

Indicates a type of an operand. You do not need to type characters in italics exactly as they are shown.

[ ]

Indicates one or more operands that can be omitted.

If two or more operands are enclosed by these square brackets and are delimited by vertical bars (|), you can select one of the operands.

{ }

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.

|

Vertical bar delimiter, indicating you can select one of the operands enclosed in square brackets.

Syntax descriptions

This syntax...

Indicates you can write this script...

connect ip-address

connect 123.01.22.33

destination [directory]

destination

destination c:\temp

compress [yes|no]

compress

compress yes

compress no

answer {yes|no}

answer yes

answer no

ports [name][...]

ports

ports port-1

ports port-1 port-2

Writing a script in the command file

When you write a script in your command file, be aware of the following:

Following are examples of comments in a command file:

;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;    COMMAND FILE: command.txt    ;;;;
;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
ip 158.214.135.57:51990      ; IP address of SVP
dkcsn 123456                 ; Serial No of DKC
login expusr "passwd"        ; Log onto SVP

Viewing the online Help for subcommands

You can display the online Help to view the syntax of subcommands when you are working at the command prompt. To be able to view the online Help, you must use the help subcommand of the Export Tool. For more information about how to use the help subcommand, see help.