Notices

X30 / X3 / X3i Forums Talk about anything related to the X30 / X3 / X3i.

Reply
 
LinkBack Thread Tools
Old 11-29-04, 01:35 AM   #1 (permalink)
jh1
Aximsite Rookie
 
Join Date: Jul 2004
Posts: 32
Thanked 0 Times in 0 Posts
Batch file to copy files to SD card

I'd like to setup a batch file that will automatically copy jpg files from the my documents folder onto the SD card. Is it possible to setup such a batch file and launch it from a shortcut. This is a no brainer for a PC, but for a PocketPC?

I'm doing this to offload pictures taken with my Veo camera.

Thanks.
jh1 is offline   Reply With Quote
Sponsor Ads
Old 11-29-04, 05:15 AM   #2 (permalink)
Aximsite Minor League
 
OddbOd's Avatar
Member
 
Join Date: Nov 2004
Location: Australia
Posts: 208
Thanked 1 Time in 1 Post
There are several problems here, firstly you can't access a PDA from the windows commandline (this includes the batch interpreter), second the folder synchronization included with ActiveSync cannot be used from commandline either, and thirdly, using an FTP server on your Axim is too complicated and expensive for such a simple task.

What you are looking for is something similar to Microsofts' CECopy command which is included in the Windows Mobile Developer Power Toys package which allows commandline copying over an ActiveSync connection (cabled or wireless). Personally I think you would be better off with the RCMD utility by hfrmobile as it contains the most common file commands (dir, del, copy, md, rd etc) in one executable that is ideal for batching.

It is fairly simple to use for example:
Code:
rcmd copy "E:\test\*.*" "\Storage Card\\"
Would copy all the files in E:\test to the root of your SD card, note that the double slash is necessary when using a quoted destination directory.

Hope this helps
OddbOd is offline   Reply With Quote
Old 11-29-04, 11:10 AM   #3 (permalink)
jh1
Aximsite Rookie
 
Join Date: Jul 2004
Posts: 32
Thanked 0 Times in 0 Posts
Transfer from my documents on the PDA (not PC)

Sorry, I meant copying from the my documents folder on the PDA to the SD card in the PDA. (no cross platform file transfers). I take pictures with my Veo camera and it would be nice to setup a shortcut to batch transfer images to the SD card from PDA memory.
jh1 is offline   Reply With Quote
Old 11-29-04, 11:17 PM   #4 (permalink)
Aximsite Minor League
 
OddbOd's Avatar
Member
 
Join Date: Nov 2004
Location: Australia
Posts: 208
Thanked 1 Time in 1 Post
DOH!

For that you need to install the MS command shell (which is included on H/PC's but not PPC's) and a console driver. You can find both of those at the SymbolicTools website. This gives you a command shell from which you can execute all the usual commands (including batch files) so you can just write a normal DOS/WIN style batch file and have it execute directly in WinCE (the file association is setup automatically).

Last edited by OddbOd; 11-29-04 at 11:42 PM.
OddbOd is offline   Reply With Quote
Reply

Sponsor Ads

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:19 PM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-09 LeckMedia, LLC