1

If I have two computers, both running Windows 7, on my home network, is there some way to write a script so that I can click on a single icon on the one computer and make the other computer execute a program?

Clearly, I could do this by accessing the other computer through remote desktop connection and then executing the program, but I would like to avoid (or at least automate) making the connection so I can just click a single icon to have it happen.

2

1 Answer 1

1

(assuming Windows)

You could write a batch file that calls PsExec, or create a shortcut to PsExec with the appropriate command line arguments.

2
  • Sorry, I should have specified Windows 7. One does dual boot with Ubuntu, but that isn't relevent here. I'll give PsExec a try. Mar 29, 2012 at 22:11
  • 1
    @TimothyAWiseman: You need permissions set on the other computers use PsExec, or at least have their login detalis. Mar 30, 2012 at 8:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .