title: Passing parameters to .exe file within cmd
body: <p>So I have an .exe tool that needs to be executed in cmd that's used to convert some GIS data from one format to BAG format.  The syntax looks like so:</p>
  
  <pre><code>C:\Caris\BDB\4.0\bin &gt; carisbatch -r SurfacetoBAG [options] "input_file" "output_file"
  </code></pre>
  
  <p>I have a directory of about 40 files of GIS data, so I'd like to know how to automate the above cmd tool such that it will run through use all 40 files as "input_file".  I've looked into using the subprocess() module wrapped in a for loop with python, but I am under the impression it can only be used for unix systems.  Any ideas?</p>