Difference between revisions of "IniValueChange"
(→Description) |
|||
Line 1: | Line 1: | ||
==Usage== | ==Usage== | ||
− | IniValueChange: | + | IniValueChange:<description>,<filename>,<section>,<value>,<old data>,<new data>[,advanced build parameters] |
===Examples=== | ===Examples=== | ||
Line 27: | Line 27: | ||
You might want to take advantage of the [[AlgoPrefix|Algo-Prefix]] ''<$REGMATCHn>'' result of previous ''<regexpr>'' checks here. | You might want to take advantage of the [[AlgoPrefix|Algo-Prefix]] ''<$REGMATCHn>'' result of previous ''<regexpr>'' checks here. | ||
+ | |||
+ | ===Scan Results=== | ||
+ | * INI file entry. | ||
==See also== | ==See also== | ||
Line 44: | Line 47: | ||
[[Category:SBI Commands]] | [[Category:SBI Commands]] | ||
− |
Revision as of 11:51, 18 February 2008
Contents
Usage
IniValueChange:<description>,<filename>,<section>,<value>,<old data>,<new data>[,advanced build parameters]
Examples
IniValueChange:"A silly example","C:\Test.ini","TestMain","Greeting","Hello World","Hallo Welt"
Let's take a look at C:\Test.ini before this check has taken place:
[TestMain] Greeting=Hello World
Now after this has been detected and fixed by the user, it would look like:
[TestMain] Greeting=Hallo Welt
Description
This command changes the data of a value inside an INI file.
- The first parameter is a standard description; either plaintext, or better a description template, since that allows localization when displaying results to the user.
- The second parameter describes the file; you may use path template here. PT
- The third parameter describes the section inside the INI file; Algo-Prefixes are allowed here. AP PT
- The fourth parameter describes the name of the value; Algo-Prefixes are allowed here. AP PT
- The fifth parameter identifies the data the value has to match; Algo-Prefixes are allowed here. AP PT
- The sixth parameter specifies the new data for the value. PT
- Optionally, you may use advanced build parameters in the seventh parameter.
You might want to take advantage of the Algo-Prefix <$REGMATCHn> result of previous <regexpr> checks here.
Scan Results
- INI file entry.