Android: adb.exe pull /mnt/sdcard/somefile.txt not working?

Viewed 21873

Maybe I'm doing something wrong. I'm trying to get a file from my device with adb command:

adb pull /mnt/sdcard/deviceinfo.dat C:\

but I always get the message:

cannot create 'c:\\deviceinfo.dat': No such file or directory

The file esists on device:

adb shell ls /mnt/sdcard/deviceinfo.dat

returns

/mnt/extsd/deviceinfo.dat

I've tryed with some variants:

adb pull /mnt/sdcard/deviceinfo.dat
adb pull /mnt/sdcard/deviceinfo.dat C:\
adb pull /mnt/sdcard/deviceinfo.dat C:\deviceinfo.dat

but I always get the same error. Where is the problem for pull? I'm running cmd.exe as Administrator.

5 Answers

Make sure the files/subfolders contains no illegal characters. In my case there were files and folders with : in their names.

Related