How do I copy a file from android storage using windows batch file

A

AC Question

Hi. I have an android phone/barcode reader and need to read a simple text file from the device to a windows 7 PC. I can do this using explorer as it sees the android file system, but I need to be able to do it using a windows batch file as it is part of a bigger process. The android hard drive is not a mapped drive in Windows. I need to be able to either map the drive so that I can read the file in the conventional 'Windows' way (using cecopy.exe command) or I need another method that can be incorporated into a batch file. Can anyone help please?
 

srkmagnus

Retired Moderator
May 23, 2010
13,434
210
0
Visit site
You may need to install the Android SDK and use ADB to pull the file from the device and copy it to your computer. If you are able to do that please note that certain files may still be off limits, including ones pertaining to certain apps.