title: run a batch file that is present in remote machine
body: <p>The above code works fine if the batch file is present in local machine.<br>
  I need to run the batch file that is present in the remote machine from the above code.  </p>
  
  <pre><code>class Visuals {
  
      public static void main(String arg[]) {
          try {
              String command = "cmd /C start C:/Visuals/VisualTimeSeries081308Ratnesh/VisualTimeSeries081308Ratnesh/bat/demo/StartVisTsDataCenterMySql-log.bat";
              Runtime rt = Runtime.getRuntime();
              Process pr = rt.exec(command);
              //pr.destroy();
          } catch (IOException e) {
              e.printStackTrace();
          }
      }
  
  }
  </code></pre>
  
  <p>How can I develop connection with the remote machine?  I just have the IP address of the remote machine. </p>