INIED.EXE	Version 1.0	Thomas Duncan
	5/7/96


Text file editing utility for the PC technician who sets up multiple PC's and 
makes the same changes to the INI, CONFIG.SYS and/or AUTOEXEC.BAT 
files.


Licensing Information

This program is not freeware nor is it public domain.  It is shareware and may 
be freely distributed in its original form.  It may be used for the purposes of 
evaluation for a period of 30 days.  If it is kept for use beyond the evaluation 
period a registration fee must be paid to the author by sending a check or 
money order for $10.00 to:

INI Editor
Thomas Duncan
PO BOX 624
Westminster, MA  01473-0624

Upon receipt of your registration fee I will send you (either by us post or E-
Mail where applicable) the latest registered version of the program and the 
Borland C source code if you request it.


This program consists of four files:

INIED.EXE	Executable Application	44,560 bytes	5/7/96
INIED.MOD	Sample Modification File	436 bytes	5/7/96
INIED.TXT	Text Documentation	4,352 bytes	5/7/96
INIED.DOC	Word 6.0 Documentation	25,600 bytes	5/7/96


Overview

INIED is a DOS program that reads a modification (mod) file and adds (or 
modifies existing) lines to specified [sections] in text files such as 
CONFIG.SYS, AUTOEXEC.BAT, WIN.INI and SYSTEM.INI.  It is 
intended to be used to make multiple changes to multiple files repeatedly.  
INI files can be modified without destroying the integrity of the original files 
or making wholesale changes that are not required on every machine.  It can 
easily be called from a batch file that first copies the EXE and/or 
INIED.MOD files to the required disk, runs the program and then deletes the 
files.


Rules for proper operation:

1. The executable must be located in the current directory or be 
pointed to by the path statement.

2. The INIED.MOD file must be in the current directory.

3. All files edited must be on current drive.

The INIED.MOD file may contain:

1. Comments must begin with a semi-colon (;) the same as Windows 
.INI files.

2. As many lines as needed to modify as many text files as needed on 
the current drive.

Each non-comment line must consist of three fields separated by commas:

1. File name with optional drive:\path.

2. Optional section name including brackets ([]).  If a section is not 
specified for files that do not contain them, you may include a number 
to specify the line number at which to insert the line or a space to 
specify the end of the file.

3. Line to be added or modified

The INIED.MOD file may not contain:

1. Blank lines without leading ;

2. Missing sections without a space between commas


The following is the contents of the sample INIED.MOD file:

AUTOEXEC.BAT,3,LH SMARTDRV.EXE /X /U 1024 256
; the next three lines make double clicking much easier for people who
; have difficulty holding the mouse perfectly still while pressing the
; buttons
C:\WINDOWS\WIN.INI,[WINDOWS],DoubleClickHeight=8
C:\WINDOWS\WIN.INI,[WINDOWS],DoubleClickWidth=8
C:\WINDOWS\WIN.INI,[WINDOWS],DoubleClickSpeed=450
C:\CONFIG.SYS, ,DEVICE=MYDEVICE /12 /24
C:\WINDOWS\SYSTEM.INI,[386ENH],MaxBPs=768


**NOTES**

This sample INIED.MOD file must be located in the root directory of the 
boot drive, and the program must be executed from there because the first 
line of the file adds a line to AUTOEXEC.BAT which is normally found in 
the boot directory and no path is specified. (see rule 2)

Lines 2-4 are comments.

Three lines will be added to the windows section of C:\WINDOWS\WIN.INI.  
The backup file WIN.BKM will contain the first two changes to WIN.INI.  If 
more than one change is made to any one file, the .BKM backup will reflect 
only the last change.

Paths, filenames and sections are case insensitive, however lines are changed 
or added exactly as typed in field three on the INIED.MOD line.

If a section is specified and the device/parameter already exists with a 
different value, the line will be changed where it originally existed in the file.  
Any previously undefined device/parameters will be added to the end of the 
section, where, if they cause problems, they are easier to find.

If a valid path is provided, files in any sub-directory on the current drive may 
be modified.
