title: /exclude in xcopy just for a file type
body: <p>I have a batch file to copy over files from Visual Studio to my Web folder.  I want to copy all files in my web project, EXCEPT for *.cs files.  I can't seem to get this to work:</p>
  
  <pre><code>xcopy /r /d /i /s /y /exclude:".cs" C:\dev\apan C:\web\apan
  </code></pre>
  
  <p>Any tips?  I just get exit code 4 when I try to run this.</p>