hao-zhang
@echo off 
:Begin 
ping www.baidu.com 
if errorlevel 1 goto Reboot 
if errorlevel 0 goto Continue
:Continue
goto Begin: 
:Reboot 
netsh interface set interface WLAN disabled
netsh interface set interface WLAN enable
ping -n 8 127.0.0.1>nulecho %date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%time:~6,2%   断网已重启。。。>>log.txt
goto Begin

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-01-08
  • 2021-07-06
  • 2022-12-23
  • 2022-01-30
  • 2021-11-16
  • 2021-08-08
  • 2022-01-22
猜你喜欢
  • 2021-11-23
  • 2021-12-04
  • 2022-12-23
  • 2022-01-25
  • 2022-12-23
  • 2022-12-23
  • 2021-08-31
相关资源
相似解决方案