Difference between revisions of "RegyRemove"
Line 2: | Line 2: | ||
==Usage== | ==Usage== | ||
− | RegyRemove:[description],[rootkey],[keypath],[value],[ | + | RegyRemove:[description],[rootkey],[keypath],[value],[data to remove],<advanced build parameters> |
===Examples=== | ===Examples=== | ||
− | RegyRemove:"Example",HKEY_CURRENT_USER,"\QATests\SBI\RegyRemove\","remove1","silly" | + | 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=== | ===Description=== | ||
Line 13: | Line 21: | ||
# The root key, where HKEY_CURRENT_USER stands for all users actually. | # The root key, where HKEY_CURRENT_USER stands for all users actually. | ||
# The path to the value, starting with a backslash. | # The path to the value, starting with a backslash. | ||
− | # The name of the value. An [[AlgoPrefix|Algo-Prefix]] is allowed here. | + | # The name of the value. An [[AlgoPrefix|Algo-Prefix]] is allowed here. {{AlgoPrefix}} |
− | # The data to be removed from the term. An [[AlgoPrefix|Algo-Prefix]] is allowed here. | + | # The data to be removed from the term. An [[AlgoPrefix|Algo-Prefix]] is allowed here. {{AlgoPrefix}} |
==See also== | ==See also== |
Revision as of 16:21, 17 February 2008
Removes data from a registry value.
Usage
RegyRemove:[description],[rootkey],[keypath],[value],[data to remove],<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.
- First, a description. Using a description template instead of plain text is recommended so that the user will receive a localized version.
- The root key, where HKEY_CURRENT_USER stands for all users actually.
- The path to the value, starting with a backslash.
- The name of the value. An Algo-Prefix is allowed here. AP
- The data to be removed from the term. An Algo-Prefix is allowed here. AP