Doxie Posted December 29, 2004 Author Posted December 29, 2004 Its working so far you only run it once If you run it twice, it adds xtra lines of the "iniwrite". But i will solve that by adding the whole Section (where user/pass/mac/computername) in the script. So when i push out the user.ini, it will be empty on that section, that way i can also make it written in the same order as the "orginal". And at the end of each use, it will recreate it. Somehow i willl make it work now. Shady, thanks a bunch for the help. May you have a very very happy new year. Were ever i lay my script is my home...
SlimShady Posted December 29, 2004 Posted December 29, 2004 Its working so far you only run it once If you run it twice, it adds xtra lines of the "iniwrite".<{POST_SNAPBACK}>I solved that problem just now.The original INIWrite does strange things, so I made my own version.If you pass the parameters right, it will write the values right.BTW, did you know why it failed?Because it's not a standard INI file format.Download my INIWrite function with an example that shows that it can replace:set var="CONF_REGION" value="Sweden" set var="CONF_PROVIDER" value="Övriga"with:set var="CONF_REGION" value="Holland" set var="CONF_PROVIDER" value="Chello"
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