title: Run cmd commands through java processBuilder
body: <p>I am trying to use ProcessBuild to run the cmd statement. </p>
  
  <pre><code>ProcessBuilder pb = new ProcessBuilder("cmd.exe", "/C", "start");
  Process p = pb.start();
  </code></pre>
  
  <p>However, I can only open the cmd.exe </p>
  
  <p>I do not know how to add statement to the ProcessBuild so that the all the jar in the folder can run.
  Usually, I open the cmd in the stanford-corenlp-full-2015-12-09 folder, and add this statement to run: 
  java -mx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer<br>
  <a href="https://i.stack.imgur.com/OdIwM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OdIwM.png" alt="enter image description here"></a></p>
  
  <p>So how to write this statement Run cmd commands through java??
  I am getting errors as the statement consists "*". 
  How to edit the ProcessBuilder so that i can run the statement?
  Thanks a lot</p>