title: How do I run a batch file from my Java Application?
body: <p>In my Java application, I want to run a batch file that calls "<code>scons -Q implicit-deps-changed build\file_load_type export\file_load_type</code>"</p>
  
  <p>It seems that I can't even get my batch file to execute. I'm out of ideas. </p>
  
  <p>This is what I have in Java:</p>
  
  <pre><code>Runtime.
     getRuntime().
     exec("build.bat", null, new File("."));
  </code></pre>
  
  <p>Previously, I had a Python Sconscript file that I wanted to run but since that didn't work I decided I would call the script via a batch file but that method has not been successful as of yet. </p>