Welcome, Guest
Username Password: Remember me

Execute Command from Linux to Windows machine
(1 viewing) (1) Guest
Shell Script
  • Page:
  • 1

TOPIC: Execute Command from Linux to Windows machine

Execute Command from Linux to Windows machine 1 year, 1 month ago #626

  • scmuser
  • OFFLINE
  • Gold Boarder
  • scm master
  • Posts: 237
  • Points: 3429
  • Karma: 0
  • Honor Medal 2009
Hi,
Could you please help me in my following scenario…

Problem Statement:
In one windows machine, I have one application (BusinessObject) file which has to perform some kind of import jobs upon getting parameters on command line.

The command to execute this import statement in windows is:

java -jar biarengine.jar <<properties file name with location>>


As part of automation in my project, I am trying to run this command along with parameter from Linux machine. I mean to say when I fire these command from Linux machine, it should get executed in Windows machine.

My questions is: What are the way we have available on which I can fire these command and make sure these got executed in Windows remotely.
Any help on this?

Re: Execute Command from Linux to Windows machine 1 year, 1 month ago #636

  • kd09714
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Points: 18
  • Karma: 0
using rsh you can trigger the command on windows box.

rsh WIN-BOX-NAME "command to execute on cmd prompt";
  • Page:
  • 1
Time to create page: 0.61 seconds

     
    
Home Forum