Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to launch a batch file that starts a program on another computer

Status
Not open for further replies.

shaneras

MIS
Mar 29, 2001
13
0
0
US
I am trying to create a batch file on W2K that calls a test script to run on 8 other computers. When run it browses to the other 8 computers and then launches the test scripts locally on the machine that launched the batch file.

Does anybody know of a way to call the scripts to launch from my machine but run on the 8 test machines?

Thanks!
 
what triggers the batch file to run?

I would use net use and rconsole (if you have it...otherwise get it from the 2k Resource Kit:

NET USE \\computername\c$ <credentials if necessary>
xcopy <batchfilname> \\computername\c$ <----or any folder
rclient \\computername /R <batchfilename>



This will call the machine and establish the remote connection, kick of the batch file and exit automatically...
quite neat actually...

 
Visit sysinternals.com and download the PSTOOLS suite. In that suite is a tool that allows you to execute commands remotely.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top