Copy files from mobile device using batch file?

1,486 views
Skip to first unread message

Adeel Azhari

unread,
Jul 11, 2012, 8:26:02 PM7/11/12
to nusha...@googlegroups.com
Heyy guys, I'm trying to write a batch file to copy files from a mobile device running windows mobile (Psion Ikon labelled as PTX7505 in the picture below) to a network drive.

The problem is that when mobile devices are connected, it is detected as a portable device and not a physical drive assigned to a letter.
Inline images 2

Anyone knows of anyway I can go about doing this?  I tried to use copy and xcopy, both will tell me that the drive could not be found when i typed "\PTX7505\" as the target folder.

I used diskpart to check the volumes available, and it didnt show any network drives or portable devices, but I can copy files to the network drive using the batch file.
Inline images 1

Any suggestions? =)
Some info:
- The mobile device Can be browsed using Windows Mobile Device Center (WMDC) or simply Windows Explorer, but I intend to write the batch file to make it a simple one click solution for repeated tasks of downloading photos from the device, instead of browsing the folders.
- currently, I tested the batch file with lines:
copy "C:\Users\adeel\Desktop\test.txt" "\\server.local\private$\user\adeel\"
and it can copy a file from my desktop to my network drive, so there's no issue with the network drives.

Warm Regards,
Adeel
image.png
image.png

Tay Ray Chuan

unread,
Jul 11, 2012, 11:23:32 PM7/11/12
to nusha...@googlegroups.com
Go to 

Control Panel -> Computer management

go to disk management

see which volume it turns up under. (even better show screenshot like you did in OP)

-- 
Cheers,
Ray Chuan 
image.png
image.png

Yong Jie Wong

unread,
Jul 12, 2012, 2:37:16 AM7/12/12
to nusha...@googlegroups.com

Hi,

I think the device is using the MTP (Media Transfer Protocol) rather than your standard USB Mass Storage. Hence, you don't see it as a drive.

Is there an option (i.e. some setting on the device) that allows you to use the device as Mass Storage?

If you have Linux/GVFS, this would have been trivial...

Take care,
Yong Jie

image.png
image.png

Jarek x

unread,
Mar 27, 2014, 3:28:40 AM3/27/14
to nusha...@googlegroups.com
Hi, I have the same problem,
Do you find any solution to copy files to WinCe via batch?
Reply all
Reply to author
Forward
0 new messages