title: Starting independent batch files through ssh and process ownership
body: <p>I've used batch files for many things in the past... but I've always had this problem. I'm sorry if this is a repeat question, I'm not entirely sure I know how to phrase it for searching purposes. The problem is this:</p>
  
  <p>1) Batch file starts some process. 
  2) command window closed by user. 
  3) process started by batch file ends. </p>
  
  <p>I imagine this is due to the fact that the started process is "called" by the batch file, and is thus it's child. Specifically what I'm trying to do is login to a server through ssh, run a batch file located on that server which then starts a java program. I need the batch to either stay open, or allow the java program to own itself somehow. That way, when I leave the SSH session, the program will continue to run. Any ideas how I can do this?</p>
  
  <p>I'm running a windows XP x64 server with MobaSSH.</p>