1.

Solve : how to run bat file from remote computer?

Answer»

i hav to run a bat FILE from remote computer....which
contains rft script path

cd\

java -Drational_ft.install.dir="C:\Program Files\IBM\Rational\FTTrial\6.1\FunctionalTester\eclipse\plugins\com.rational.test.ft.wswplugin_6.1.0" -cp "C:\Program Files\IBM\Rational\FTTrial\6.1\FunctionalTester\eclipse\plugins\com.rational.test.ft.wswplugin_6.1.0\rational_ft.jar" com.rational.test.ft.rational_ft -Datastore d:\staf\ashish\ -log simple2 -playback simple2


pause


this code is executed in my computer...
but i hav to run from other computer..

so whatn can i do for that
i think the bat file must be LOCATED somewhere on the other computer so you can run it when connected. i would be happy to KNOW if there is another way of doing this.rft is not installed on that pc...so error msg comes class path not found...

when we run fron remote computer....

give me proper way to run a bat file from remote computer...

by giving an example
from what i know the batch file must be located EITHER on the computer or shared in a folder on the same network.
if you have the correct credentials for the remote computer, navigate to the file location then double click it or open the COMMAND prompt then type filename.batTCPLISTNER will do it. Difficult to do the programming.



Discussion

No Comment Found