Difference between revisions of "RegyRemove"

From SpybotWiki
Jump to: navigation, search
(added info box)
(Usage: added var types, updated example)
Line 12: Line 12:
  
 
==Usage==
 
==Usage==
  RegyRemove:<description>,<rootkey>,<keypath>,<value>,<data to remove>[,advanced build parameters]
+
  RegyRemove:<description(string)>,<rootkey(enum)>,<keypath(string)>,<value(string)>,<data to remove>[,advanced build parameters]
  
 
===Examples===
 
===Examples===
  RegyRemove:"Example",HKEY_CURRENT_USER,"\QATests\SBI\RegyRemove\","remove1","silly "
+
  RegyRemove:"Example",HKEY_CURRENT_USER,"\Hello\World\","remove1","silly "
  
 
If you start with this registry entry:
 
If you start with this registry entry:
  [CURRENT_USER\QATests\SBI\RegyRemove\]
+
  [CURRENT_USER\Hello\World\]
 
  "remove1"="What a silly example."
 
  "remove1"="What a silly example."
  
 
You would end with
 
You would end with
  [CURRENT_USER\QATests\SBI\RegyRemove\]
+
  [CURRENT_USER\Hello\World\]
 
  "remove1"="What a example."
 
  "remove1"="What a example."
  

Revision as of 16:36, 22 February 2008

RegyRemove
Group Registry
Main Application Version 1.4 or later
Required Update n/a
File Parameters no
Registry Parameters yes (sixth)
Build Parameters yes (sixth)
Special Parameters no

Removes data from a registry value.

Usage

RegyRemove:<description(string)>,<rootkey(enum)>,<keypath(string)>,<value(string)>,[,advanced build parameters]

Examples

RegyRemove:"Example",HKEY_CURRENT_USER,"\Hello\World\","remove1","silly "

If you start with this registry entry:

[CURRENT_USER\Hello\World\]
"remove1"="What a silly example."

You would end with

[CURRENT_USER\Hello\World\]
"remove1"="What a example."

Description

This removes partial data from a registry value, keeping the value and the surrounding data intact. This makes sense only for REG_SZ, REG_EXPANDSZ and REG_MULTISZ values.

  1. First, a description. Using a description template instead of plain text is recommended so that the user will receive a localized version.
  2. The root key, where HKEY_CURRENT_USER stands for all users actually.
  3. The path to the value, starting with a backslash. PT
  4. The name of the value. An Algo-Prefix is allowed here. AP PT
  5. The data to be removed from the term. An Algo-Prefix is allowed here. AP PT
  6. This field supports advanced build parameters.

Scan Results

  • A special entry that allows removal of parts of data during fixing.

See also

Similar commands