Wise Package Studio Reference
73
Creating Projects, Processes, and Tools
See
Defining Command Line Options for Tools
on page 73. After defining a
command-line option, it appears in Options.
z
If you are working with a predefined Workbench tool, the Options field changes to
a drop-down list and you can select a predefined command-line option.
See
About Wise Package Studio command-line options
on page 268.
z
If you are working with a tool that is not included in Workbench, see the program’s
documentation for information about its command-line options. Example: If you
select Word as the tool, you can enter a command-line option to pass the document
name when Word is opened, so that Word opens the named document.
z
If the command-line option contains a path or file name, enclose it in quotation
marks.
About Command Line Options for Tools
When you create a tool, you can enter command-line options that affect how the
program runs. Command-line options you enter in Tool Setup affect the tool’s behavior
every time the tool is run from the Tools tab, and in every task that uses that tool.
Therefore, in Tool Setup, you should enter only the minimum command-line options that
are required to run the tool. To produce more specific tool behavior on the task level,
you can enter command-line options in Process Templates Setup, when you create a
task that runs a tool.
Example:
Package Distribution requires the following option to run:
workbench.exe /tool="Package Distribution"
That is the option specified in Tool Setup. Adding the option /tgt=23 to the command
line runs Package Distribution and selects the option to distribute to a network directory.
Because you will not want to distribute to a network every time you run Package
Distribution, the /tgt=23 option is added to a task in Process Templates Setup rather
than to the tool in Tool Setup.
Defining Command Line Options for Tools
¾
Not available in Standard Edition.
See
Guidelines for Entering Command Line Options
on page 72.
To define a command line for a tool
1. Access the Tool Configuration dialog box in any of the following ways:
In Workbench, select Edit menu > Tool Configuration.
In Tool Setup or Process Templates Setup, right-click and select Tool
Configuration.
In Process Templates Setup, select any tool, make sure Task Type is set to
Workbench Tool, and click Define next to Options. When you access the
dialog box this way, you can only edit options for the currently displayed tool.
The Tool Configuration dialog box appears.
2. From Tool, select the tool to define options for. The list contains both predefined
tools and tools you create.