Sign in to follow this  
Followers 0
shahino007

Run au3 script on remote computer with psexec

5 posts in this topic

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,

Share this post


Link to post
Share on other sites



Is AutoIt installed on the remote PC? PSExec is meant for running executables on a remote machine, not an uncompiled script.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#4 ·  Posted (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 by shahino007

Share this post


Link to post
Share on other sites

Why would you not just compile it to an executable and make it easier on yourself?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0