![]() |
Web Development »
Applications & Tools »
Tools with source code
Intermediate
Scan and Merge INI FilesBy Phil McGahanA free tool to merge INI files, check for common INI file mistakes, and quickly determine how two INI files differ. |
Visual Studio, Dev
|
|
Advanced Search Add to IE Search |
|
|
|
||||||||||||||||
This utility was written late at night at a customer site to help me
determine the difference between INI settings on a machine that was
configured correctly and a machine that was not executing an application
correctly. Originally, it just sorted two INI files so that they could easily be
compared using Windiff.exe.
It has been expanded to do the following additional tasks:
Windiff.exe to see how they differ.
"C:\Windows\" with "C:\Winnt\"
when it is appropriate.
Just run the exe from a command line to see example usage and documentation. The basic format is as follows:
C:\Mytools\MergeINIFiles.exe "C:\DominantFile.INI C:\Suplimental.INI C:\Merged.INI"
Because we mostly launch this tool via InstallShield, there is no GUI, unless the files contain errors or the parameters are incorrect.
The INI files are read as text files so that comments are included in the
result set. The program is a simple, CFile reads the text, CArray
holds the text and CMap compares the text.
I maintain no rights or restrictions on this code. It was not plagiarized from any other source. This utility was written using a Wizard generated SDI framework. It was created using VC 5.0.
| You must Sign In to use this message board. | |||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||
General
News
Question
Answer
Joke
Rant
Admin
|
PermaLink |
Privacy |
Terms of Use
Last Updated: 25 May 2000 Editor: Valerie Bradley |
Copyright 2000 by Phil McGahan Everything else Copyright © CodeProject, 1999-2009 Web21 | Advertise on the Code Project |