title: Git Bash and Composer - Running without an extension
body: <p>I've installed Git for Windows, configured to use Git commands exclusively in Git Bash.</p>
  
  <p>So I have a file <code>composer.cmd</code> sitting beside <code>composer.phar</code> which looks like this:</p>
  
  <pre><code>@echo off
  php C:\bin\composer.phar %*
  </code></pre>
  
  <p>However, I still need to enter <code>.cmd</code> or <code>.phar</code> at the end of the command for it to see it. The extension <code>.CMD</code> exists in <code>$PATHEXT</code> but it doesn't seem to matter. Having to retype a command because I left off the extension breaks my rhythm, and it seems incredibly arbitrary that I'm able to run <code>.exe</code> files without the extensions.</p>
  
  <p>I want to know if there's a way to coerce it into accepting that <code>.cmd</code> files do not need to have their extensions specified. And I'm not using the MSI package to install Composer.</p>