shahino007 Posted December 9, 2013 Share Posted December 9, 2013 Hey there, I'm trying to execute an Autoit script which is located on a remote computer (activation is with psexec), but nothing happens. When I compile the au3 script and try to execute it remotely via psexec, everything is OK. So what is the difference between running au3 file to exe file? Both the computers are WinXP Pro SP3 The command is: RunWait('psexec remotecomputer -i C:...My_Script.exe"') ; this works! *The command for au3 script is almost the same: RunWait('psexec remotecomputer -i C:...My_Script.au3"') Thanks, Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted December 9, 2013 Moderators Share Posted December 9, 2013 Is AutoIt installed on the remote PC? PSExec is meant for running executables on a remote machine, not an uncompiled script. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
JohnOne Posted December 9, 2013 Share Posted December 9, 2013 Something more like that perhaps. RunWait('psexec remotecomputer -i C:...AutoIt3.exe C:...My_Script.au3"') AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
shahino007 Posted December 10, 2013 Author Share Posted December 10, 2013 (edited) I have the same Autoit3 on both computers and I've tried the option: RunWait('psexec remotecomputer -i C:...AutoIt3.exe C:...My_Script.au3"') but still nothing happened Perhaps there Is another way to execute au3 file on remote computer without using the psexec option. Any ideas? Edited December 10, 2013 by shahino007 Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted December 10, 2013 Moderators Share Posted December 10, 2013 Why would you not just compile it to an executable and make it easier on yourself? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! 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