IniValueDelete

From SpybotWiki
Revision as of 13:55, 22 February 2008 by CCRDude (talk | contribs) (added info box)
Jump to: navigation, search
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

Alles 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.

  1. The first parameter is a standard description; either plaintext, or better a description template, since that allows localization when displaying results to the user.
  2. The second parameter describes the file; you may use path template here. PT
  3. The third parameter describes the section inside the INI file; Algo-Prefixes are allowed here. AP PT
  4. The fourth parameter describes the name of the value; Algo-Prefixes are allowed here. AP PT
  5. The fifth parameter identifies the data the value has to match. PT
  6. 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.

See also

Similar commands

Similar advanced file parameters