gpt4 book ai didi

android - Windows cmd 将文件 move 到安卓设备

转载 作者:行者123 更新时间:2023-12-04 04:43:38 25 4
gpt4 key购买 nike

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

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

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

最佳答案

使用亚行 ( 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 获取文件到您的计算机

希望对你有帮助

关于android - Windows cmd 将文件 move 到安卓设备,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18532385/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com