如何从批处理文件运行程序,而在程序启动后不使控制台处于打开状态?
问题描述:
目前我的批处理文件如下:
For the moment my batch file look like this:
myprogram.exe param1
程序启动,但DOS窗口保持打开状态.如何关闭它?
The program starts but the DOS Window remains open. How can I close it?
答
您可以使用exit关键字.这是我的一个批处理文件中的一个示例:
You can use the exit keyword. Here is an example from one of my batch files:
start myProgram.exe param1
exit