runliuv

runliuv@cnblogs

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
set adbpa=D:\Nexus6\ota51\ADBTool
set apkpa=D:\WDJDownload\Apps

%adbpa%\adb.exe install %apkpa%\CPU-Z.apk
%adbpa%\adb.exe install %apkpa%\cb.apk
%adbpa%\adb.exe install %apkpa%\ESf.apk
%adbpa%\adb.exe install %apkpa%\ESr.apk
%adbpa%\adb.exe install %apkpa%\mj.apk
%adbpa%\adb.exe install %apkpa%\QQ.apk
%adbpa%\adb.exe install %apkpa%\qz.apk
%adbpa%\adb.exe install %apkpa%\syb.apk
%adbpa%\adb.exe install %apkpa%\tb.apk
%adbpa%\adb.exe install %apkpa%\tmap.apk
%adbpa%\adb.exe install %apkpa%\UC.apk
%adbpa%\adb.exe install %apkpa%\wll.apk
%adbpa%\adb.exe install %apkpa%\wx.apk
%adbpa%\adb.exe install %apkpa%\wyyyy.apk
%adbpa%\adb.exe install %apkpa%\ydybj.apk
%adbpa%\adb.exe install %apkpa%\youku.apk
%adbpa%\adb.exe install %apkpa%\zfb.apk
pause

adb 不支持中文名的apk

 

下面是用FOR来安装

 

echo off

echo "adb不支持中文APK名"

echo "adb.exe目录"
set adbpa=D:\Nexus6\ota51\ADBTool
echo "apk目录"
set apkpa=D:\WDJDownload\Apps

for %%i in (%apkpa%\*.apk) do (
echo "复制 %%i" 
copy "%%i" c:\temp.apk /Y
echo "安装 %%i" 
%adbpa%\adb.exe install c:\temp.apk
)
pause
exit

 

 

--

 

posted on 2015-10-01 15:40  runliuv  阅读(398)  评论(0编辑  收藏  举报