三个不同文件停顿二秒弹出不同窗口的批处理



代码如下:
@echo off
setlocal enableextensions
echo %time%
call :ProcDelay 200
echo %time%
goto :start
:ProcDelay delayMSec_
setlocal enableextensions
for /f "tokens=1-4 delims=:. " %%h in ("%time%") do set start_=%%h%%i%%j%%k
:_procwaitloop
for /f "tokens=1-4 delims=:. " %%h in ("%time%") do set now_=%%h%%i%%j%%k
set /a diff_=%now_%-%start_%
if %diff_% LSS %1 goto _procwaitloop
endlocal & goto :start
if "%1"=="d:\劲舞团" start d:\劲舞团
:start
start d:\劲舞团\patcher.exe
setlocal enableextensions
echo %time%
call :ProcDelay 200
echo %time%
goto :start
:ProcDelay delayMSec_
setlocal enableextensions
for /f "tokens=1-4 delims=:. " %%h in ("%time%") do set start_=%%h%%i%%j%%k
:_procwaitloop
for /f "tokens=1-4 delims=:. " %%h in ("%time%") do set now_=%%h%%i%%j%%k
set /a diff_=%now_%-%start_%
if %diff_% LSS %1 goto _procwaitloop
endlocal & goto :start
if "%1"=="d:\劲舞团" start d:\劲舞团
:start
start d:\劲舞团\劲舞团无列表补丁.exe
setlocal enableextensions
echo %time%
call :ProcDelay 200
echo %time%
goto :start
:ProcDelay delayMSec_
setlocal enableextensions
for /f "tokens=1-4 delims=:. " %%h in ("%time%") do set start_=%%h%%i%%j%%k
:_procwaitloop
for /f "tokens=1-4 delims=:. " %%h in ("%time%") do set now_=%%h%%i%%j%%k
set /a diff_=%now_%-%start_%
if %diff_% LSS %1 goto _procwaitloop
endlocal & goto :start
if "%1"=="d:\劲舞团" start d:\劲舞团
:start
start d:\劲舞团\劲舞团无响应补丁.exe
echo 补丁执行结束
pause
exit



相关阅读:
仿客齐集首页导航条DIV+CSS+JS [代码实例]
IE6不能修改NAME问题的解决方法
关闭Windows 7系统自动播放的操作步骤
Jquey拖拽控件Draggable使用方法(asp.net环境)
Discuz!NT 论坛整合ASP程序论坛教程
javascript汉字转拼音的代码
js实现网页检测是否安装了 Flash Player 插件
PHP+JS+rsa数据加密传输实现代码
Jquery实战_读书笔记2 选择器
PHP 模板高级篇总结
走近GNOME Do 0.8.1:Linux上快速启动程序
怎么知道Vista系统是否支持Aero特效
创建一个复制UBB软件信息的链接或按钮的js代码
最近整理的一份CSS文字隐藏的demo
快速导航

Copyright © 2016 phpStudy | 皖ICP备18014864号-4