Using the HP DTC 16RX Manager
142
Using the script options
22
Command-line scripts
-e “script” Executes a command-line script. Modifications to the DTC configuration are
contained in the command-line script. The script can be specified in single or
double quotes.
Example
This example shows how a command-line script is used to modify the DTC User
Prompt on the DTC named dtc1.
rdtcmodifyconfs -m -e 'User Prompt=”Hello>>";' dtc1 l
User-defined script files
The scriptfile option is used to modify one or more DTCs at a time. The
parameters to be modified are specified in a user-defined script file.
An example script file is provided with the DTC Manager fileset. This file—
rdtcmodifyconfs.sh—contains examples for all parameter names and values.
You can use the rdtcmodifyconfs.sh file as basis for creating your own
customized scripts. Copy it to another file name and then adapt it to your needs.
-f scriptfile Executes a script file. Modifications to the DTC configuration are made by means of
parameter assignment statements for particular configuration parameters. These are
kept in an ASCII text file (scriptfile).
Example
To modify a DTC User Prompt parameter with a script file:
rdtcmodifyconfs -m -f modscript dtc1 l
In this case the file modscript would contain: User Prompt="dtc1>>";