How to modify specific lines in a .ini file?
Hello,
When writing multiple values to a .ini file I'm familiar with the
following basic code:
Open "c:\my.ini" For Output As #1
Print #1, "1"
Print #1, "2"
Print #1, "3"
Close #1
Is there a way to modify/write values to specific lines only, for
example modifying the "2" value on line 2 to "5", without overwriting
the other lines with their unchanged values?
Thanks for any feedback!
Jim
|