Page 1 of 1

Need help copying files from android phone

Posted: 20 Feb 2017 13:45
by mirrormirror
I would like a batch file to copy files from an android device \sdcard to a specified location - after plugging in the phone.

I know how to write the batch copy and everything but I can't figure out how to access the android storage device from within a command-prompt. If I could get it mounted as a readable volume or drive letter I can handle the rest.

Anyone know of a way to do this - even with 3rd party command-line utilities?

Re: Need help copying files from android phone

Posted: 20 Feb 2017 15:24
by pieh-ejdsch
Theres is an Option Debug Mode in Settings.
this can be enabled

wen you plug in your USB-cable it will list 3 Modes.
- USB
- Windows XP kompatible and
- Phone

use XP Mode to become access like an Diskdrive.

Phil

Re: Need help copying files from android phone

Posted: 20 Feb 2017 17:40
by mirrormirror
Thank you for the response. I will need to try later but doesn't that mode demand single-use access? In other words, it only allows access to the card from the plugged-in computer or from the android OS, but not both. I've seen this before but not sure which version of android OS.

I was hoping for a solution using the standard MTP connection where I would be able to see the SD card as a drive letter, volume, or even a network URL. Any other help would be appreciated.

Re: Need help copying files from android phone

Posted: 20 Feb 2017 17:57
by Squashman
MTP was not designed to function that way.

Re: Need help copying files from android phone

Posted: 20 Feb 2017 18:50
by mirrormirror
MTP was not designed to function that way.

Sure, but the batch command-line was not designed to do much of what you guys do here :)

If windows explorer can see the sd card then perhaps there is a way for the command-line to see it - just looking for anything others might have tried or used - even 3rd party command-line tools.

at the very least adb.exe can interface with the connected android device if debugging is turned on but I haven't explored trying to use it to do a batch file-copy.

Re: Need help copying files from android phone

Posted: 22 Feb 2017 05:30
by SIMMS7400
mirrormirror wrote:
MTP was not designed to function that way.

Sure, but the batch command-line was not designed to do much of what you guys do here :)


MirrorMirror spittin' that truth :D :D

Re: Need help copying files from android phone

Posted: 22 Feb 2017 07:36
by Squashman
Most of what is done with the batch files here is based on the rules of how cmd.exe works.