如何在生成后事件上运行exe [英] How to run an exe on a post build event

查看:116
本文介绍了如何在生成后事件上运行exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在构建后事件中运行某个exe文件的正确脚本是什么?

What is the correct script to run a certain exe file on a post build event?

推荐答案

就像从命令行运行此.exe一样.因此,请使用完整路径指定.exe,如果路径或可执行文件名称中包含空格,请将其用双引号引起来.

Just as you would run this .exe from command-line. So, specify your .exe with full path and enclose it in double-quotes if either path or executable name contain spaces.

这篇关于如何在生成后事件上运行exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆