我想编辑一个bat文件,其中我设置了某个系统变量,以便在修改完成后关闭dos。
发布于 2011-12-30 02:29:28
这个怎么样,里面有一些想法……
TITLE My batch file
:: content here
GOTO :END
:END
FOR /l %%a in (30,-1,1) do (TITLE %TITLE% -- Closing in %%as&ping -n 2 -w 1 127.0.0.1>NUL)
:: then, explicit exit (not required)
exit /B 1 >nul发布于 2011-04-06 23:27:14
你能试试这个命令吗
exit这应该会关闭dos/command窗口。
https://stackoverflow.com/questions/5568743
复制相似问题