hao009 当前离线
列兵
@echo off :a time 15:30 ping -n 50 127.0.0.1>nu goto a exit复制代码
评分人数
foxJL 当前离线
荣誉版主
TOP
@echo off time 8:30 start "" "1.exe" (echo,@echo off echo,:a echo,echo,时间循环...并检测1.exe是否运行,否则自动退出。 echo,tasklist/nh^|find "1.exe"^>nul ^|^| exit echo,time 8:30 echo,ping /n 5 127.1^>nul ^& goto a )>2.cmd echo,N|start /WAIT "" "2.cmd" cls echo,继续运行的代码... pause复制代码
@echo off (echo,@echo off echo,:a echo,time 10:10 echo,ping /n 50 127.1^>nul echo,goto a)>2.cmd echo,N|start /WAIT "" "2.cmd" cls echo,继续运行的代码... pause复制代码
start /WAIT /SEPARATE "" "1.exe"复制代码
start /WAIT /SHARED "" "1.exe"复制代码