Sign in to follow this  
Followers 0
Champak

ini delete

7 posts in this topic

#1 ·  Posted (edited)

Is it possible to delete an entire specific ini section? I've searched....didn't come up with anything.

Edited by Champak

Share this post


Link to post
Share on other sites



Is it possible to delete an entire specific ini section? I've searched....didn't come up with anything.

Have you searched the helpfile for INIDelete? That is the exact function. It will delete the entire section, and it can optionally only delete a key.

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
Share on other sites

Ahh, I see. I didn't think about dropping everything back to the file name and section and that would cause the entire section to delete. I don't know why you stating that made me even think of doing that, because I looked at it before and when it said value, I thought that was all it could delete. I think the next helpfile should be updated so it states that this could be done as well.

Thanks JS.

Share this post


Link to post
Share on other sites

IniDelete ( "filename", "section" [, "key"] )

key [optional] The key name in the .ini file to delete. If the key name is not given the entire section is deleted.

Share this post


Link to post
Share on other sites

Ahh, I see. I didn't think about dropping everything back to the file name and section and that would cause the entire section to delete. I don't know why you stating that made me even think of doing that, because I looked at it before and when it said value, I thought that was all it could delete. I think the next helpfile should be updated so it states that this could be done as well.

Thanks JS.

We all miss small things sometimes. I have done it many times before. A fresh set of eyes looking can always find something that you didnt see.

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
Share on other sites

xcal: :"> :"> :"> :"> :"> :"> :"> :"> :">

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