title: console exe (made in C#) runs from cmd prompt but not from a batch file on Windows 7
body: <p>I remember I used to write in a .bat</p>
  
  <pre><code>call myprog.exe
  </code></pre>
  
  <p>But dos says call not a command ?!!</p>
  
  <p>My question is not about cmd prompt but BATCH file.</p>
  
  <p>I tried also</p>
  
  <pre><code>c:\some-path\myprog.exe
  </code></pre>
  
  <p>and</p>
  
  <pre><code>"c:\some-path\myprog.exe"
  </code></pre>
  
  <p>the error message: the exe is not a recognized internal command. It is a console application made in C# which runs if I launch it directly in cmd prompt not in batch</p>
  
  <p>Update: the 2 first character ouput is weird there are some weird 2 chars I think it happens since I installed msysgit client <a href="http://code.google.com/p/msysgit/" rel="nofollow">http://code.google.com/p/msysgit/</a> which has somehow made something to command prompt.</p>
  
  <p>Hope I can uninstall it...</p>
  
  <p>I uninstalled it but still got the weird chars in front of my command:</p>
  
  <pre><code>'´++"C:\some-path\prog-example.exe"' is not recognized ...
  </code></pre>