Removes a line or section from WIN.INI.
IniDelete (section, keyname)
(s) section the major heading under which the item is located.
(s) keyname the name of the item to delete.
(i) always 0
This function will remove the specified line from the specified section in WIN.INI. You can remove an entire section, instead of just a single line, by specifying a keyword of @WHOLESECTION. Case is not significant in section or keyname.
Note: INI files are mapped to registry
Windows Vista/2008 and newer: This function may require an Administrator level account because the WIN.INI is located within a protected directory: 'Windows'.
IniDelete("Desktop", "Wallpaper") IniDelete("Quicken", @WHOLESECTION) Message("IniDelete","Ini Deleted.")