The Update function
The update function is used to create keys and values.
The command syntax for keys is as follows:
fileregedit [-f registry_file] update user path name type [value]
If a key is being created, the type is KEY. No value is specified, but empty square brackets must be included in its place, as in the following examples.
fileregedit update "{Local Machine}" "/Software/XyEnterprise" "Contenta API" KEY []fileregedit update "{Local Machine}" "/Software/XyEnterprise/Contenta API" "PerlAPI" KEY []
If a value is being created or updated, the type is:
- STRING VALUE or STRING
- DWORD VALUE or DWORD
- BINARY VALUE or BINARY
For example, |phoebe|VALUE|STRING|/XyEnterprise/Software/Web|Preference|6|abced
The syntax is:
fileregedit update phoebe /XyEnterprise/Software/Web
Preference "string value" abced
Sample output of the above command:
# fileregedit update phoebe /XyEnterprise/Software/Web
Preference "string value" abced
STRING VALUE "Preference" updated "/XyEnterprise/Software/Web"
#