zoukankan      html  css  js  c++  java
  • 批处理安装APK

    set adbpa=D:Nexus6ota51ADBTool
    set apkpa=D:WDJDownloadApps
    
    %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%	b.apk
    %adbpa%adb.exe install %apkpa%	map.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:Nexus6ota51ADBTool
    echo "apk目录"
    set apkpa=D:WDJDownloadApps
    
    for %%i in (%apkpa%*.apk) do (
    echo "复制 %%i" 
    copy "%%i" c:	emp.apk /Y
    echo "安装 %%i" 
    %adbpa%adb.exe install c:	emp.apk
    )
    pause
    exit
    
     

    --

  • 相关阅读:
    Ubuntu 16 安装ElasticSearch
    二叉树
    归并排序
    快速排序
    Git、Github使用
    445. 两数相加 II
    141. 环形链表
    92. 反转链表 II
    19. 删除链表的倒数第N个节点
    2. 两数相加
  • 原文地址:https://www.cnblogs.com/runliuv/p/4851085.html
Copyright © 2011-2022 走看看