@echo off
:start
for /f "tokens=*" %%a in ('adb shell ping -c 1 -w 1 192.168.255.2^|findstr from') do echo %time% %%a >>d:\ping.txt
ping -n 2 127.0.0.1
goto start
@echo off
:start
for /f "tokens=*" %%a in ('adb shell ping -c 1 -w 1 192.168.255.2^|findstr from') do echo %time% %%a >>d:\ping.txt
ping -n 2 127.0.0.1
goto start
本文标题:Shell脚本判断手机连接网络状态
本文链接:https://www.haomeiwen.com/subject/nhzzdttx.html
网友评论