Toady Posted May 29, 2007 Posted May 29, 2007 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. www.itoady.com A* (A-star) Searching Algorithm - A.I. Artificial Intelligence bot path finding
Administrators Jon Posted May 29, 2007 Administrators Posted May 29, 2007 Is @scriptdir in a protected area? Is UAC turned on?
Toady Posted May 30, 2007 Author Posted May 30, 2007 Is @scriptdir in a protected area? Is UAC turned on?Yep, that was the problem. Thanks Jon! www.itoady.com A* (A-star) Searching Algorithm - A.I. Artificial Intelligence bot path finding
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