Can we execute a .bat file in post build event command line in visual studio?

后端 未结 3 765
半阙折子戏
半阙折子戏 2020-12-05 06:12

Can we execute a .bat file in post build event command line in visual studio?

3条回答
  •  渐次进展
    2020-12-05 06:32

    As well as calling a .bat file, you can enter batch commands (i.e., the normal commands available from the Windows console--cmd.exe) directly into the Pre-build/Post-build fields. This may be preferable as it means you do not have to maintain the batch file separately, as all your commands will be part of the project.

提交回复
热议问题