bat批处理访问n个网站

@echo off
for /f "delims=" %%i in (web.txt) do (
start /min "" "%programfiles%\Internet Explorer\iexplore.exe" "%%i"
for /l %%j in (1,-1,1) do (
cls
echo        倒计时  %%j  秒后打开下一个网页...
ping 127.1 -n 2 >nul
))
taskkill /f /t /im iexplore.exe
在桌面保存bat文件
web.txt文件里面放置你想要访问的网址
双击保存的bat文件1s访问一个网站,依次执行直到访问完毕

猜你喜欢

转载自blog.csdn.net/lystest/article/details/82415619