1、语句

del $(SolutionDir)Release\Result\GetCRCResult.exe
copy $(SolutionDir)Release\GetCRCResult.exe $(SolutionDir)Release\Result\

其中Result是指定的文件夹,这里我把它放在Release目录下了,GetCRCResult.exe为目标文件

2、如图

VS中定义后期生成事件,希望生成的目标文件拷贝到指定目录当中

 

相关文章:

  • 2021-11-21
  • 2021-06-16
  • 2022-01-11
  • 2022-12-23
  • 2022-12-23
  • 2021-09-14
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-21
  • 2022-12-23
  • 2021-08-25
  • 2021-10-29
  • 2021-09-29
  • 2021-09-08
相关资源
相似解决方案