title: Java application to execute commands in command prompt
body: <p>I would like to know, is there a way to let a java application open command prompt (cmd.exe) and type/execute commands, preferably without the user seeing the command prompt window.</p>
  
  <p>If anyone knows a sample application or a piece of code that can do this, your answer will be appreciated!</p>