xcopy is not recognized as an internal or external command, operable program or batch file

前端 未结 8 1395
温柔的废话
温柔的废话 2021-01-03 18:08

I have a problem using \'xcopy\' command.

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/R

8条回答
  •  难免孤独
    2021-01-03 18:45

    I just experienced this for the first time with a batch file I use to copy an Access front-end app to the user's local machines. Their environment is a mix of Windows 7 & 8 and 32-64 bit machines. I noticed that the xcopy.exe was both in the System32 and the SysWOW64 folders and I wondered if there was some conflict. So -- I copied the xcopy.exe into the folder where the batch file resides and it now seems to be working. Just thought I'd share this.

    Eileen

提交回复
热议问题