Jump to content
Sign in to follow this  

Need help with iniwrite

Recommended Posts

So i cant make my iniwrite work, tho it doesnt show any error message

this is what should happen:

IniWrite(@ScriptDir & ".\test.ini", "ACC", "AccName", "1")

tho it doesnt write anything in my ini. I've tried to change the iniwrite to a msgbox, and it shows up, so the iniwrite should happen :/

any1 who knows how it works? ^^

my ini looks like this:



Share this post

Link to post
Share on other sites

IniWrite(@ScriptDir & ".\test.ini", "ACC", "AccName", "1") as you stated, worked for me

..what version of Autoit are you using?

..are you looking in the script folder for the file?

.. did you try to search your computer for "test.ini"?

Normally, I dont use the period "." as you did


Man... really slow...lol

Edited by Valuater


Share this post

Link to post
Share on other sites

ahh it works without the dot... ^^ sry im a bit new to this

well now i got 1 more problem that would be nice if u could solve

i want it to do this, so it writes what $accname is equal to.

IniWrite(@ScriptDir & "\test.ini", "ACC",$accname)

Im using a GUI-input, i dunno if that changes anytjing, but it goes like this:

$accname = GuiCtrlCreateInput("<AccName>",70,10,100,18)


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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...