Page 1 of 1 1
Topic Options
#119772 - 2004-05-18 04:11 PM Deleting sections in an INI file
Grasshopper75 Offline
Getting the hang of it

Registered: 2002-01-15
Posts: 99
Loc: Melbourne, Australia
Is there a way to remove an entire section from an INI file ?

I would like to edit the RAS phonebook in order to remove a dialup connection that no longer exits. I have edited the entries in the past though am not sure how I can go about removing an entry.

Any help would be appreciated.

Cheers,
Grasshopper75

Top
#119773 - 2004-05-18 04:22 PM Re: Deleting sections in an INI file
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
it fully explained in the manual, wonder what's so strange in it.

$=writeprofilestring("myfile.ini","sectionIwantToGetRidOf","","")
_________________________
!

download KiXnet

Top
#119774 - 2004-05-18 04:33 PM Re: Deleting sections in an INI file
Grasshopper75 Offline
Getting the hang of it

Registered: 2002-01-15
Posts: 99
Loc: Melbourne, Australia
I do apologise, I only read the part on sections, not the entire explanation.

Works great.

Cheers.

Top
#119775 - 2004-05-18 04:34 PM Re: Deleting sections in an INI file
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ja.
I snapped you a little bit cause I don't think you a total starter anymore
_________________________
!

download KiXnet

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.163 seconds in which 0.104 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org