Jump to content
Sign in to follow this  

Iniwrite() not working in vista?

Recommended Posts


This code works perfect on a Win2000 or WinXP, but when I run it on a windows vista machine I am having issues.

IniReadSection works fine in vista, but for some reason Iniwrite will not work. They both use the same $config variable as shown below.

$config = @ScriptDir & "\mgconfig.dat"

$ini = IniReadSection($config,"settings") ;works on vista

IniWrite($config, "settings", "default", "name") ;does not work on vista, but does work on win2000/xp

Anyone have an idea of whats going on here? Does IniWrite require a different format for "filename". Im using latest build of AutoIT.


A* (A-star) Searching Algorithm - A.I. Artificial Intelligence bot path finding

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