IniValueDelete: Difference between revisions
Jump to navigation
Jump to search
(New page: ==Usage== IniValueDelete:[description],[filename],[section],[value],[data],<advanced build parameters> ===Examples=== ===Description=== ==See also== ===Similar commands=== [[Cat...) |
(fixed typo in intro summary) |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{SbiCmdInfo | |||
|SYNTAX = IniValueDelete | |||
|PENAME = SpybotSD.exe | |||
|PEVERSION = 1.5 or later | |||
|GROUP = Special File Formats | |||
|MINUPDATE = n/a | |||
|ADVFILEPARAMS = no | |||
|ADVREGPARAMS = no | |||
|ADVBUILDPARAMS = yes (sixth) | |||
|ADVSPECIALPARAMS = no | |||
}}Allows to delete ''.ini'' file entries. | |||
==Usage== | ==Usage== | ||
IniValueDelete: | IniValueDelete:<description>,<filename>,<section>,<value>,<data>[,advanced build parameters] | ||
===Examples=== | ===Examples=== | ||
IniValueDelete:"<$REG_AUTORUN>","<$WINDIR>\system.ini","boot","SCRNSAVE.EXE","<$WINDIR>\MalwareSaver.scr" | |||
This example completely removes the screensaver entry when it points to a malware file. | |||
===Description=== | ===Description=== | ||
This command removes a value from an INI file. | |||
# The first parameter is a standard description; either plaintext, or better a [[Description templates|description template]], since that allows localization when displaying results to the user. | |||
# The second parameter describes the file; you may use [[Path templates|path template]] here. {{PathTemplates}} | |||
# The third parameter describes the section inside the INI file; [[AlgoPrefix|Algo-Prefixes]] are allowed here. {{AlgoPrefix}} {{PathTemplates}} | |||
# The fourth parameter describes the name of the value; [[AlgoPrefix|Algo-Prefixes]] are allowed here. {{AlgoPrefix}} {{PathTemplates}} | |||
# The fifth parameter identifies the data the value has to match. {{PathTemplates}} | |||
# Optionally, you may use [[Advanced build parameters|advanced build parameters]] in the sixth parameter. | |||
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== | ||
* [[Advanced build parameters]] | |||
* [[AlgoPrefix]] | |||
* [[Description templates]] | |||
* [[Path templates]] | |||
===Similar commands=== | ===Similar commands=== | ||
* [[IniValueChange]] | |||
* [[IniValueRemove]] | |||
==Similar advanced file parameters== | |||
* [[ini]] | |||
* [[inilinkbranch]] | |||
[[Category:SBI Commands]] | [[Category:SBI Commands]] | ||
Latest revision as of 16:20, 22 February 2008
| IniValueDelete | |
| Group | Special File Formats |
| Main Application | Version 1.5 or later |
| Required Update | n/a |
| File Parameters | no |
| Registry Parameters | no |
| Build Parameters | yes (sixth) |
| Special Parameters | no |
Allows to delete .ini file entries.
Usage
IniValueDelete:<description>,<filename>,<section>,<value>,[,advanced build parameters]
Examples
IniValueDelete:"<$REG_AUTORUN>","<$WINDIR>\system.ini","boot","SCRNSAVE.EXE","<$WINDIR>\MalwareSaver.scr"
This example completely removes the screensaver entry when it points to a malware file.
Description
This command removes a value from 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. PT
- Optionally, you may use advanced build parameters in the sixth parameter.
You might want to take advantage of the Algo-Prefix <$REGMATCHn> result of previous <regexpr> checks here.
Scan Results
- INI file entry.