The problem goes this way. We are developing an application which is taking huge time to run and also we have limited license problem.
So we have purchased a new computer with a very high configuration. Now this new PC is in LAN and all the 4 developers should use this PC for running the application.
The scenario:
The developer has all the files ready to be run. Now he copies all the files into a shared directory on the new PC.
Then he clicks a batch file in the local computer which has to call the exe on the other computer and run the tool on other computer. After the tool finishes running, it puts the result in a text file which can be taken by user later.
In this way, the tool runs very fast and also the license issue is solved.
Problem definition:
Typically whenever we double click an exe on shared computer, the exe runs locally on my PC which I dont want to happen.
How do I call an exe on some other computer on LAN and make it run on that computer?
Is it possible in Windows XP?
If yes, how do I go about it?
Note: I have to finally have a simple batch file which will be clicked on the local computer and it runs the exe on other computer.
EDIT1 :
I found some things in internet like
WMIC utility
PsExec utility - http://technet.microsoft.com/en-us/sysinternals/bb897553
Is any of the above useful to my problem?
Mark Russinovich's PsExec is what you want. You will need administrator privileges on the target machine. For example:
PSEXEC \\othermachine z:\program.exe
(You may also want to specify arguments for username/password - the documentation gives all the options you can use.)