Difference between revisions of "RegyRemove"

From SpybotWiki
Jump to: navigation, search
(Description)
Line 2: Line 2:
  
 
==Usage==
 
==Usage==
  RegyRemove:[description],[rootkey],[keypath],[value],[data to remove],<advanced build parameters>
+
  RegyRemove:<description>,<rootkey>,<keypath>,<value>,<data to remove>[,advanced build parameters]
  
 
===Examples===
 
===Examples===
Line 23: Line 23:
 
# The name of the value. An [[AlgoPrefix|Algo-Prefix]] is allowed here. {{AlgoPrefix}} {{PathTemplates}}
 
# The name of the value. An [[AlgoPrefix|Algo-Prefix]] is allowed here. {{AlgoPrefix}} {{PathTemplates}}
 
# The data to be removed from the term. An [[AlgoPrefix|Algo-Prefix]] is allowed here. {{AlgoPrefix}} {{PathTemplates}}
 
# The data to be removed from the term. An [[AlgoPrefix|Algo-Prefix]] is allowed here. {{AlgoPrefix}} {{PathTemplates}}
 +
# This field supports [[Advanced build parameters|advanced build parameters]].
  
 
==See also==
 
==See also==
 +
* [[Advanced build parameters]]
 
* [[AlgoPrefix]]
 
* [[AlgoPrefix]]
 
* [[Description templates]]
 
* [[Description templates]]
Line 35: Line 37:
  
 
[[Category:SBI Commands]]
 
[[Category:SBI Commands]]
[[Category:SBI Commands (current)]]
 
[[Category:SBI Commands supporting AlgoPrefix]]
 

Revision as of 13:30, 18 February 2008

Removes data from a registry value.

Usage

RegyRemove:<description>,<rootkey>,<keypath>,<value>,[,advanced build parameters]

Examples

RegyRemove:"Example",HKEY_CURRENT_USER,"\QATests\SBI\RegyRemove\","remove1","silly "

If you start with this registry entry:

[CURRENT_USER\QATests\SBI\RegyRemove\]
"remove1"="What a silly example."

You would end with

[CURRENT_USER\QATests\SBI\RegyRemove\]
"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.

See also

Similar commands