Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

seebee

Use a script to run an exe on the active session machine

Hi, I'm trying to send a file to several machines and then run a script which essentially just restarts the computer so the changes take effect.

Is there a command I could include in my script to open an exe file I need to run?

e.g. after connection is established:

cd "MyDirectory"
 
put "MyFile.xml"
 
start MyExeFile.exe
 
exit


The bold part is where I can't get it to work. I tried just the filename by itself, tried with the start cmd, etc. I also tried call.

Thanks