grindking01 0 Posted September 15, 2004 This is the text I have now and it keeps giving me errors: $dir = IniRead (@ScriptDir\ReadmeSettup.ini, "Settup", "Directory") I want the autoit file to read the directory code from a settup file. The settup file is called ReadmeSettup.ini, and I wanted to use the @ScriptDir command because the ini is in the same folder as the autoit script. Any ideas on why this isn't working? Share this post Link to post Share on other sites
Jos 2,167 Posted September 15, 2004 This is the text I have now and it keeps giving me errors: $dir = IniRead (@ScriptDir\ReadmeSettup.ini, "Settup", "Directory") I want the autoit file to read the directory code from a settup file. The settup file is called ReadmeSettup.ini, and I wanted to use the @ScriptDir command because the ini is in the same folder as the autoit script. Any ideas on why this isn't working? <{POST_SNAPBACK}>$dir = IniRead (@ScriptDir & "\ReadmeSettup.ini", "Settup", "Directory","defaultvalue") SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Share this post Link to post Share on other sites