Command:

Description:

Example:

 

 

 

apply

Copies a registry value from one registry to

>apply <keyname> <value>

/src2diff

another, or from a file to a registry, using values

/src2diff

from the last compare command result.

 

/diff2src

OR

 

Use the /src2diff and /diff2src arguments to

 

 

>apply <keyname> <value>

 

specify which direction the value should be

 

/diff2src

 

copied.

 

 

 

Note that you can only copy values to a registry;

 

 

you cannot copy a value to a file.

 

 

 

 

save

Saves the latest compare command results to a

>save

 

registry file in the application server's

OR

 

Repository.

 

>save <filename>

 

Saved output is stored as XML-formatted text.

 

 

 

If no file name is specified, output is saved to a

 

 

file named: RegCompare <host_name>

 

 

<timestamp>.xml.

 

 

If desired, you can include an argument that

 

 

specifies a file name.

 

 

 

 

files

Displays the list of RegCompare files in the

>files

 

application server's Repository.

 

 

 

 

view

Displays the contents of a RegCompare file from

>view <filename>

 

the Repository on the application server.

OR

 

 

 

Optionally, you can include an argument to dump

>view <filename>

 

this output to a local file. Output is stored as

<localfile_path\filename>

 

XML-formatted text.

 

 

 

 

 

remove, rm

Deletes a specified RegCompare file from the

>remove <filename>

 

Repository on the application server.

 

 

 

 

rename, ren

Renames a RegCompare file in the Repository on

>rename <filename>

 

the application server.

<new_filename>

 

 

 

read_file, read

Directs command input to another input file.

>read <filename>

 

For example, you can direct input to run a batch

 

 

file that contains a series of commands

 

 

executable by this utility.

 

 

 

 

silent

Executes command without displaying output.

><command> /silent

 

Note: Available in command-line mode only.

 

 

 

 

quit, q

Ends the program.

>quit

 

 

 

Cisco Support Tools 1.0 User Guide

How to Use the Compare Registries Utility from a Command Line 140

Page 140
Image 140
Cisco Systems 1.0 (1) manual Another, or from a file to a registry, using values