VBscript and ini files.

Associate
Joined
14 Sep 2003
Posts
652
Location
The City of Dis
Hi there,

I would like to open two .ini files (file1 and file2) and then somehow search file1 for ini section headers (the things around the square brackets, [..]) and if file2 does not have them, copy the entire section into file 2.

My questions:
Q1) Is this even possible?
Q2) If this is a long way round the problem, is there an easier way?
Q3) If this is the only way, how would one go about creating the script?

Regards,

dave.
 
You could search an INI file or any files using VBS - You will need to use the FileSystemObject for this.

TrUz
 
Back
Top Bottom