I have two INI files, and I want see the differences between then (which keys have different values, and which keys one has that the other don't), so...

How-to compare two (or more) INI files?

link|improve this question

40% accept rate
feedback

6 Answers

up vote 6 down vote accepted

Here is an answer from serverfault.

http://serverfault.com/questions/28194/is-there-a-tool-to-compare-values-in-ini-files

link|improve this answer
feedback

You may use a comparison tool for that, like Winmerge, an open source and free differencing tool for Windows. It shows the two files side-by-side, colormarking the differences.

Supports Microsoft Windows 98/2000/XP/2003/Vista/7.

link|improve this answer
feedback

Use file compare command-line utility (in any windows) from the command prompt (enter cmd intor start/run dialog)

fc inifile1.ini inifile2.ini

The result will be typed aftewards. If you would like to review the results

fc inifile1.ini inifile2.ini > results.txt

After the latter you will see the report in the file results.txt

link|improve this answer
+1 for coming with a solution which doesn't require additional software. – TFM Aug 24 '09 at 13:07
-1 for comming with a solution which doesn't meet the requirements – Daniel Silveira Aug 24 '09 at 13:16
feedback

I found a lovelly windows freeware utility called ExamDiff the other day that will do exactly what you want, is user friendly and free. It will even do directory comparisons if you pay for the 'pro' version.

link|improve this answer
Only the paid version has plugins, which you need for ini sorting. – dangph Apr 13 '10 at 3:15
feedback

Try IniCompare

alt text

Or have a look at this list of Ini editors/compare tools, though a differencing tool would be the easiest probably

link|improve this answer
1  
IniCompare on Vista/Win7 needs a VB DLL. Go here: support.microsoft.com/kb/172991/EN-US Download MSVBVM50.CAB. Extract the DLL to the folder where IniCompare.exe is. – dangph Apr 13 '10 at 3:25
feedback

I've been using Beyond Compare by Scootersoftware for over 10 years now. http://www.scootersoftware.com/

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.