Jump to content

Recommended Posts

Posted

Ok perhaps i'm a stupid boy, but i wanna ask can AutoIT executes an application from another PC as if the PC itself who runs it.

for example:

PC1 wants to execute autoITupdater.exe in PC2

usually if we remotely runs an updater or installer remotely then the remote pc itself who will be installed. not the PC where the exe file located. Can autoIT do the execution remotely from PC1 and doing as if its executed locally at PC2?? :o

i appreciate if code of example is included

Posted

K, perhaps every viewers not quite understand what am i trying to say,

i know i can use run(), or somethin, but everytime i do with those function, it runs on the remote (the one that executes the apps remotely) and not on the file existed PC(local). any solutions?

Posted

incorporate psexec from sysinternals w/ your script

Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.

Posted

K, perhaps every viewers not quite understand what am i trying to say,

i know i can use run(), or somethin, but everytime i do with those function, it runs on the remote (the one that executes the apps remotely) and not on the file existed PC(local). any solutions?

Try http://www.sysinternals.com/Utilities/PsTools.html

Alot of us use the psexec tool in conjunction with autoit

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Posted

pstools??? hmmm, i thought that autoIT has the abilty, but then... nobody's perfect and thanks i'll try the psexe thing. Hope it'll works thanks again guys. :o

Posted

gafrost, it didn't work. i dont' know what's wrong.

i use this script:

run(@ScriptDir & "\psexec.exe \\PC160  -i \\servPC\TEMPDATA\FROM ME\Office2003SP2.exe")

but nothing is happening, only showing the cmd window doing this and that but nothing is happening on the remote machine???? can anyone help this problem? :o

Posted

k, i just found out that i have use space on the source, but still it won't work here's the code i've test

run(@ScriptDir & '\psexec.exe \\PC160  -i "\\servPC\TEMPDATA\FROM ME\Office2003SP2.exe"')

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
×
×
  • Create New...