title: Cygwin Bash from Windows Cmd Not Running Executable
body: <p>I have a program I've compiled in cygwin, that I am trying to call from a batch file a la:</p>
  
  <pre><code>D:\cygwin\bin\bash --login -i C:/ILS/trunk/NAVAID/test.exe
  </code></pre>
  
  <p>But I am getting the error:</p>
  
  <pre><code>bash: C:/ILS/trunk/NAVAID/test.exe: cannot execute binary file
  </code></pre>
  
  <p>When I file test.exe inside cygwin, I get:</p>
  
  <pre><code>test.exe: PE32 executable (console) Intel 80386, for MS Windows
  </code></pre>
  
  <p>Any ideas why it won't run?  Most of the errors I've found online are from people trying to run Linux apps, but this is something compiled (via g++) directly in cygwin (on the same machine).</p>
  
  <p>On Windows 8 if it matters.</p>