Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27355

Comapre 2 INI files

$
0
0
Hi all,

I having a hard time to comapare 2 ini files here, can anyone please help me out with it ? What i'm trying to do it compare 2 ini files together where both are have same sections and same keys, but different contents of the key.
So what im actually trying to do is copy all contents from key to other files.. it is very hard to explain. This would be easy if every key would have own name, but since it is ini file key can by same on every section :( so it is very hard to do it..

Example :

Original File how export shouod like like
Code:

[segment1]
key=data
key=data

File where i need to take the key contents from it and insert it into original file so all data after = is key contents
Code:

[segment]
key=data_other
key=data_other

Thank you

Viewing all articles
Browse latest Browse all 27355

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>