jbennett Posted October 16, 2008 Share Posted October 16, 2008 1 last question, I have a scheduled task that runs as the NT AUTHORITY\SYSTEM account (for various reasons) and my AutoIT .exe wont run within the task. Is there any way I can get the .exe file to work in this way? thanks again Link to comment Share on other sites More sharing options...
Developers Jos Posted October 16, 2008 Developers Share Posted October 16, 2008 Should work to my knowledge. What doesn't work when you run it like that ? One thing to remember is that the working dir won't be the @Scriptdir (if I recall correctly) Jos 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. Link to comment Share on other sites More sharing options...
jbennett Posted October 16, 2008 Author Share Posted October 16, 2008 The .exe works if I click on it, however when the .exe is run from a scheduled task the following message appears:AutoIT ErrorLine-1:error:unable to execute the external programaccess is deniedhmmm? Link to comment Share on other sites More sharing options...
Bert Posted October 16, 2008 Share Posted October 16, 2008 You are asking the same stuff in a different thread. http://www.autoitscript.com/forum/index.php?showtopic=82731Please keep your question to one thread. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Developers Jos Posted October 16, 2008 Developers Share Posted October 16, 2008 What program are you trying to run? Maybe post an snippet of what you are doing and fails when ran with the scheduler? 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. Link to comment Share on other sites More sharing options...
jbennett Posted October 16, 2008 Author Share Posted October 16, 2008 Hi, Sorry about the other thread. Just found a better way now. Thanks Link to comment Share on other sites More sharing options...
Zedna Posted October 16, 2008 Share Posted October 16, 2008 (edited) Also look here athttp://www.autoitscript.com/forum/index.ph...st&p=571221FAQ Q21: Why my script doesn't work on locked station? Edited October 16, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search 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