Toady Posted May 29, 2007 Share 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 Link to comment Share on other sites More sharing options...
Administrators Jon Posted May 29, 2007 Administrators Share Posted May 29, 2007 Is @scriptdir in a protected area? Is UAC turned on? Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Toady Posted May 30, 2007 Author Share 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 Link to comment Share on other sites More sharing options...
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