title: .bat file interaction with java or C#.net GUI application
body: <p>How to interact .bat file with java or C#.net GUI application? Here is part of my .bat code.</p>
  
  <p><code>:Valid</code></p>
  
  <p><code>echo Enter student id:</code></p>
  
  <p><code>set/p "pass=&gt;"</code></p>
  
  <p><code>if NOT %pass%== UserStudentId goto FAIL</code></p>
  
  <p>When I run the .bat file it will ask  <code>Enter student id:</code> in command prompt, then validate the student id and do some process. 
  I want to pass this input from java or C#.net IDE to .bat file and continue the process. In here User will never deal with command prompt. 
  If there is any output from .bat , it will show in java or .net IDE also.</p>
  
  <p>I wonder if it is possible since I'm new to this. TX. </p>