[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖

[其他] 我想给批处理加上倒计时

@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秒后关闭浏览器的提示

timeout /t 50 /nobreak
提供bat代写,为你省时省力省事,支付宝扫码头像支付
微信: unique2random

TOP

回复 2# zaqmlp


    可以帮我写好一下吗。我不太会。我想出现倒计时X秒后重启浏览器

TOP

本帖最后由 smss 于 2019-5-11 20:40 编辑
  1. @echo off
  2. :1
  3. start http://www.bathome.net/index.php
  4. echo %time:~0,-3% AAAAA
  5. start http://www.bathome.net/index.php
  6. echo %time:~0,-3% BBBBB
  7. start http://www.bathome.net/index.php
  8. echo %time:~0,-3% CCCCC
  9. for /L %%a in (49,-1,0) do (echo %%a秒后关闭360浏览器&ping -n 2 127.1 >nul 2>nul )
  10. taskkill /f /im 360se.exe
  11. goto 1
复制代码

TOP

返回列表