title: xcopy is not recognized as an internal or external command, operable program or batch file
body: <p>I have a problem using 'xcopy' command.</p>
  
  <p>I'm building a C# project with msbuild. At the end of the build, a batch file is called to copy my assemblies from Debug/Release to some other folders.</p>
  
  <p>Here is the problem, my build fail and the error log is 'xcopy is not recognized as an internal or external command, operable program or batch file'.</p>
  
  <p>The path is correctly set, xcopy do works from a windows command line and from the visual studio command line (the one set with the project environment).</p>
  
  <p>I tried to set the path in the batch file but it doesn't help.</p>
  
  <p>Any suggestion?</p>
  
  <p>I'm using windows 7</p>
  
  <p>Cheers :)</p>