EZ INIEditor v1.10 (c) Copyright 2005 by Robert F. Gage II
All Rights Reserved
bgage@bigfoot.com - http://bobby.mydis.org

The EZ INIEditor allows you to modify ini files from the command
prompt.  It will add and remove entries in ini files.  It actually
does not need to be an ini file it to modify as long as it has the
same setup that an ini file has.

An ini file has the following setup in structure.

[section]
entry=value


There can be mutable sections in one file and mutable entry in a
section.  

The rules that EZ INIEditor uses are as follow.

. Every section must have an unique name.

. Every entry in a section must have a unique name.  Though one ini
  file can have two entries that are the same but must be in different
  sections.
  
. A section must not contain any spaces.  The spaces in any section
  that is given will be removed and treated as if it had no spaces.  

. An entry must not have any spaces.  The spaces in any entry that
  is given will be removed and treated as if it had no spaces.

. A value is allowed to have spaces.

. Any lines that do not agree with this rule will be ignored.


Some common ini files do not agree with this set of rules.  Example
the windows ini file. win.ini has a section [386enh] this section
has several entries that are the same.  All are device= entries.  To
add an device section to this ini file you will need to get my other
program.  Replace Commander it will allow you to add the entry and
even delete the entry if you know what the device is.

Example to add "device=c:\drivers\driv.sys" to the [386Enh] section
in the system.ini file you would use the following command line.

replace "[386enh]" "[386Enh]{cr}{lf}device=c:\drivers\driv.sys"
system.ini /I

This command will replace the text [386enh] with a new line that
reads [386enh] along with another line underneath it
device=c:\drivers\driv.sys".  And thus allowing you to add the
entry. 

If you would like to remove this entry out of the system.ini file
then you would use the following command.

replace "device=c:\drivers\driv.sys" system.ini /L
/I 

This command will search the specified line and remove that entire
line that it's found in.  Also ignoring case incase it has changed
or not known.

you can obtain Replace Commander at http://bobby.mydis.org.
