标题: [其他] 我想给批处理加上倒计时 [打印本页]
作者: lmwqcc 时间: 2019-5-11 16:17 标题: 我想给批处理加上倒计时
@echo off
:1
start http://www.bathome.net/index.php
echo %time:~0,-3% AAAAA
start http://www.bathome.net/index.php
echo %time:~0,-3% BBBBB
start http://www.bathome.net/index.php
echo %time:~0,-3% CCCCC
ping -n 50 127.1 >nul 2>nul
taskkill /f /im 360se.exe
goto 1
我想在50秒那边加一个倒计时XX秒后关闭浏览器的提示
作者: zaqmlp 时间: 2019-5-11 16:35
timeout /t 50 /nobreak
作者: lmwqcc 时间: 2019-5-11 16:55
回复 2# zaqmlp
可以帮我写好一下吗。我不太会。我想出现倒计时X秒后重启浏览器
作者: smss 时间: 2019-5-11 20:33
本帖最后由 smss 于 2019-5-11 20:40 编辑
- @echo off
- :1
- start http://www.bathome.net/index.php
- echo %time:~0,-3% AAAAA
- start http://www.bathome.net/index.php
- echo %time:~0,-3% BBBBB
- start http://www.bathome.net/index.php
- echo %time:~0,-3% CCCCC
- for /L %%a in (49,-1,0) do (echo %%a秒后关闭360浏览器&ping -n 2 127.1 >nul 2>nul )
- taskkill /f /im 360se.exe
- goto 1
复制代码
欢迎光临 批处理之家 (http://www.bathome.net/) |
Powered by Discuz! 7.2 |