keyser Posted August 30, 2005 Share Posted August 30, 2005 Hello I search to modify a line into a file ini I have made a script which create all the file ini But at the end this is not very a good solution Is there a way to identify a line and then replace it exemple param1=0 param2=1 param3=0 param4=0 param5=1 For exemple the script should modify the param4 to value 1 Please help me I'm sure that power of autoit can do it Regards Keyser Link to comment Share on other sites More sharing options...
BigDod Posted August 30, 2005 Share Posted August 30, 2005 You could try StringReplace Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
trids Posted August 30, 2005 Share Posted August 30, 2005 See the helpfile on IniWriteHTH Link to comment Share on other sites More sharing options...
Gigglestick Posted August 30, 2005 Share Posted August 30, 2005 For exemple the script should modify the param4 to value 1IniWrite($iniFile, "exemple", "param4", "1") My UDFs: ExitCodes Link to comment Share on other sites More sharing options...
keyser Posted August 30, 2005 Author Share Posted August 30, 2005 Thanks for all I have not find this function May be not well search Because it is so cool Thanks again Keyser 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