title: Composer could not find the config file
body: <p>I want to create a laravel project by composer. I try to run this:</p>
  
  <pre><code>composer create-project laravel/laravel c:/laravel --prefer-dist
  </code></pre>
  
  <p>There is an error which is: </p>
  
  <pre><code>  [InvalidArgumentException]
    Composer could not find the config file: C:\ProgramData\ComposerSetup\bin
    To initialize a project, please create a composer.json file as described in
     the http://getcomposer.org/ "Getting Started" section
  </code></pre>
  
  <p>The composer.json file is:</p>
  
  <pre><code>{
      "require": {
          "laravel/laravel": "4.2.0"
      }
  }
  </code></pre>
  
  <p>I am using windows 8 and use cygwin.
  I also have a proxy on my computer so I set the path of HTTP_PROXY_REQUEST_FULLURI and HTTPS_PROXY_REQUEST_FULLURI to 0 and false</p>
  
  <p>Any idea?</p>