@ECHO off
chcp 65001
set i=1
:LOOP
adb shell xxx.xxxx
set now_time=%time:~0,2%:%time:~3,2%:%time:~6,2% & set /a i=i+1 & call echo 当前运行第%i%次,当前时间为%now_time% & GOTO LOOP
pause
通用循环bat脚本
最新推荐文章于 2023-12-09 20:03:03 发布
@ECHO off
chcp 65001
set i=1
:LOOP
adb shell xxx.xxxx
set now_time=%time:~0,2%:%time:~3,2%:%time:~6,2% & set /a i=i+1 & call echo 当前运行第%i%次,当前时间为%now_time% & GOTO LOOP
pause