window批处理-5 start
时间:2014-08-07 07:16:09
收藏:0
阅读:283
作用
重新启动一个单独窗口,在新窗口中执行命令
格式
start [/w] FileName
demo
bat:
@echo off echo 在新窗口中打开txt文件,并等待新窗口正常退出(exit)再往下执行 start /wait type hello.txt pause
hello.txthello world!!!
结果:
评论(0)