
CODE: [Copy to clipboard][ Last edited by clamber on 2010-1-26 at 07:02 ]@echo off
if "%use%" EQU "1" goto begin
set use=1
start "%comspec% /c /v:on" "e:\test.bat"&&exit
:begin
echo 一般批处理运行完所有命令集后都会自动退出,而这个却回到了命令提示符的界面,如果最后不用EXIT或goto :eof之类的退出命令,有什么办法让它运行完后也自动退出?谢谢!
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |