Cisco Support Tools 1.0 User Guide How to Use the Compare Registries Utility from a Command Line 140
Command: Description: Example:
apply
/src2diff
/diff2src
Copies a registry value from one registry to
another, or from a file to a registry, using values
from the last compare command result.
Use the /src2diff and /diff2src arguments to
specify which direction the value should be
copied.
Note that you can only copy values to a registry;
you cannot copy a value to a file.
>apply <keyname> <value>
/src2diff
OR
>apply <keyname> <value>
/diff2src
save Saves the latest compare command results to a
registry file in the application server's
Repository.
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.
>save
OR
>save <filename>
files Displ ays the list of RegCompare files in the
application server's Repository. >files
view Displays the contents of a RegCompare file from
the Repository on the application server.
Optionally, you can include an argument to dump
this output to a local file. Output is stored as
XML-formatted text.
>view <filename>
OR
>view <filename>
<localfile_path\filename>
remove, rm Deletes a specified RegCompare file from the
Repository on the application server. >remove <filename>
rename, ren Renames a RegCompare file in the Repository on
the application server. >rename <filename>
<new_filename>
read_file, read Directs command input to another input file.
For example, you can direct input to run a batch
file that contains a series of commands
executable by this utility.
>read <filename>
silent Executes command without displaying output.
Note: Available in command-line mode only.
><command> /silent
quit, q Ends the program. >quit