Android: adb pull file on desktop

2019-01-10 14:23发布

问题:

Trying to copy file from device to desktop, here is a command:

adb pull sdcard/log.txt Users/admin/Desktop

But this command creates a folder Users/admin/Desktop inside platform-tools folder where adb is located. How to pull file to my desktop ?

回答1:

Use a fully-qualified path to the desktop (e.g., /home/mmurphy/Desktop).



回答2:

Judging by the desktop folder location you are using Windows. The command in Windows would be:

adb pull /sdcard/log.txt %USERPROFILE%\Desktop\


回答3:

do adb pull \sdcard\log.txt C:Users\admin\Desktop



标签: android adb