title: visual studio compiler how to specify the include path to build cpp
body: <p>I am using a batch file to try to build my cpp program using Visual Studio's cl.exe.
  This is what it contains:</p>
  
  <pre><code>"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\cl.exe" /I "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\" "%1" /Fe "%1.exe"
  </code></pre>
  
  <p>I want to the compiler to include iostream from the include folder and build my .cpp (%1) as %1.exe.</p>
  
  <p>Instead, I get:</p>
  
  <p>Microsoft (R) C/C++ Optimizing Compiler Version 17.00.60610.1 for x86
  Copyright (C) Microsoft Corporation.  All rights reserved.</p>
  
  <p>cl : Command line error D8003 : missing source filename</p>
  
  <p>What am I doing wrong?</p>
  
  <p>Win8.1 x64</p>