作用
重新启动一个单独窗口,在新窗口中执行命令
格式
start [/w] FileName
demo
bat:
@echo off echo 在新窗口中打开txt文件,并等待新窗口正常退出(exit)再往下执行 start /wait type hello.txt pausehello.txt
hello world!!!结果:
window批处理-5 start
时间: 2025-01-04 22:36:56
作用
重新启动一个单独窗口,在新窗口中执行命令
格式
start [/w] FileName
demo
bat:
@echo off echo 在新窗口中打开txt文件,并等待新窗口正常退出(exit)再往下执行 start /wait type hello.txt pausehello.txt
hello world!!!结果:
window批处理-5 start