【问题标题】:Windows cmd move file to android deviceWindows cmd 将文件移动到安卓设备
【发布时间】:2013-08-30 11:57:34
【问题描述】:

我想将一个名为“logger.txt”的文件移动到连接到我的电脑的安卓设备上。 文本文件当前位于“c:\logger.txt”,我希望它转到 -“Computer\Nexus 7\Internal storage”。没有驱动器号,所以我怎么知道将它移动到哪里。 我试过了:

move c:\logger.txt Computer\Nexus 7\Internal storage

它返回“命令的语法不正确。”

【问题讨论】:

    标签: android cmd move


    【解决方案1】:

    使用亚行 (Android Debug Bridge)

    adb push the_file_you_want_to_push the_directory_on_the_device 会将文件 (the_file_you_want_to_push) 推送到设备上(在 the_directory_on_the_device 中)

    要获取the_directory_on_the_device的名称,可以使用adb shellls/cd命令获取路径

    ADB 可执行文件位于ADT_DIRECTORY/sdk/platform-tools

    您还可以使用 adb pull 将文件从 Android 获取到您的计算机

    希望对你有帮助

    【讨论】:

    • 目录 - 它是相对于设备的,所以它将是“内部存储”?
    • 您可以使用文件资源管理器获取目录名称。就我而言,它可以是 /sdcard 或 /mnt/sdcard
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-01-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-10-25
    相关资源
    最近更新 更多