一、脚本名称:xxx.bat
二、脚本内容:
adb wait-for-device set n= 0 :start adb wait-for-device adb shell input keyevent 26 adb shell input keyevent 82 TIMEOUT /T 3 adb shell input keyevent 26 TIMEOUT /T 3 ::ping -n 5 127.0.0.1 > null set /a n+=1 echo ------------------------------- power on/off times:%n% goto start TIMEOUT /T 600
三、运行脚本:双击脚本即可运行
还没有评论,来说两句吧...