Sign in to follow this  
Followers 0
jondolar

IniDelete()

4 posts in this topic

HI everyone

Trying to do something rather simple i.e. Deleting a section from ini file with the following code:

$res = IniDelete("D:\autoit3\Serge\SergeINI.txt", "[8]")
MsgBox (0,"",$res)

The $res return 1 but when I opening the file manually, the section, it's key and value are still there.

[8]

8=8

What am I doing wrong?

Regards and

TIA

Serge

Share this post


Link to post
Share on other sites



$res = IniDelete("D:\autoit3\Serge\SergeINI.txt", "8")

<{POST_SNAPBACK}>

Thanks to both of you. Details.....details....details!

Serge

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0