bikikitty Posted October 15, 2008 Posted October 15, 2008 I just installed autoit3.2.12.1 to Vista, but then I noticed some script no to be executed normally, like this: Run ("C:\Windows\System32\calc.exe", "", @SW_MAXIMIZE) It return error: : ==> Error opening the file.: Anyone can help?
bikikitty Posted October 15, 2008 Author Posted October 15, 2008 I just installed autoit3.2.12.1 to Vista, but then I noticed some script no to be executed normally, like this: Run ("C:\Windows\System32\calc.exe", "", @SW_MAXIMIZE) It return error: : ==> Error opening the file.: Anyone can help? I think i got some clue. When I put the script file to some specific folder like 'c:\program files\', the file just can't be found by autoit.exe! That must be caused by Vista's security function or sort of something.
TehWhale Posted October 15, 2008 Posted October 15, 2008 Vista doesn't have access to system/hidden files without #RequireAdmin. Try Run("calc.exe")
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