Niro
|
(Fresh Scripter)
|
2004-04-15 09:36 PM
|
|
|
|
|
editing INI file
|
|
There's an INI file I need to be able to edit with kix...I need to remove a path and replace it with the users profile path...is there a way of changing lines inside an INI file with kix?
Thanks, Mike
|
Co
|
(MM club member)
|
2004-04-15 09:47 PM
|
|
|
|
|
Re: editing INI file
|
|
An INI file is just a textfile so you can use Readline(), Writeline()
|
Les
|
(KiX Master)
|
2004-04-15 10:00 PM
|
|
|
|
|
Re: editing INI file
|
|
YUCK!
Don't use ReadLine(), WriteLine() on an INI when you can use ReadProfileString(), WriteProfileString().
|
Co
|
(MM club member)
|
2004-04-15 10:02 PM
|
|
|
|
|
Re: editing INI file
|
|
You're right!
|