title: Running windows command line from Java
body: <p>I'm trying to run the following command </p>
  
  <pre><code>tesseract test10.png text -l nor
  </code></pre>
  
  <p>using Java's </p>
  
  <pre><code>Runtime.getRuntime().exec()
  </code></pre>
  
  <p>command.</p>
  
  <p>It is working when using, the simple "cmd /c dir" command, but I can not figure out the correct syntax/way to use the command.</p>
  
  <p>Please help!</p>