Champak Posted September 15, 2006 Share Posted September 15, 2006 (edited) Is it possible to delete an entire specific ini section? I've searched....didn't come up with anything. Edited September 15, 2006 by Champak Link to comment Share on other sites More sharing options...
JSThePatriot Posted September 15, 2006 Share Posted September 15, 2006 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) Link to comment Share on other sites More sharing options...
Champak Posted September 15, 2006 Author Share Posted September 15, 2006 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. Link to comment Share on other sites More sharing options...
xcal Posted September 15, 2006 Share Posted September 15, 2006 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. How To Ask Questions The Smart Way Link to comment Share on other sites More sharing options...
JSThePatriot Posted September 15, 2006 Share Posted September 15, 2006 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) Link to comment Share on other sites More sharing options...
Champak Posted September 15, 2006 Author Share Posted September 15, 2006 xcal: :"> :"> :"> :"> :"> :"> :"> :"> :"> Link to comment Share on other sites More sharing options...
xcal Posted September 16, 2006 Share Posted September 16, 2006 Ya, like JSThePatriot says. If I had a dime for everytime... How To Ask Questions The Smart Way Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now