Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 C++ 程序的编译结束后,我会执行一个 exe 文件或一个 bat 文件。我怎么能这样做?
编辑 1 这是我的实际命令行:
start "C:\mypath\myexe.exe myarguments"
查看 C++ 项目配置属性中的“构建事件”部分。在这里,您可以定义在项目构建之前、链接器运行之前以及项目构建之后运行的命令。
检查项目属性中的 Post Build Event 命令行。