实现顺序间隔打开网页- @echo off & setlocal enableextensions enabledelayedexpansion
- echo 请输入间隔时间,格式如下
- echo 如果想间隔3秒,输入为3,依次类推
- set/p d=
- for /f %%a in (1.txt) do (
- set "t=%%a"
- start iexplore !t!
- call :tim
- )
- exit
- :tim
- echo WScript.Sleep !d!000 > %temp%\tmp$$$.vbs
- cscript //nologo %temp%\tmp$$$.vbs
- for %%f in (%temp%\tmp$$$.vbs) do if exist %%f del %%f
复制代码
[ 本帖最后由 edmond 于 2010-10-8 19:12 编辑 ] |