The rename function
Keys and values can be renamed using the rename function.
The command syntax is:
fileregedit [-f reg_file] rename user path name new_name class
- There are no optional arguments to the rename function.
- The item which is to be renamed must be specified.
- The class argument must be either KEY or VALUE since it is possible to have both a key and a value with the same name contained in the same path.
To rename Preference to Choice, the command is:
fileregedit rename phoebe /XyEnterprise/Software/Web Preference Choice VALUE
Sample output of the above command:
# fileregedit rename phoebe /XyEnterprise/Software/Web Preference Choice VALUE 1 item renamed, 0 paths renamed.
#