BlackBerry Forums Support Community
              

Reply
 
Thread Tools
Old 07-15-2008, 01:52 AM   #1
John Clark
BBF Moderator
 
John Clark's Avatar
 
Join Date: Jun 2005
Model: Z30
OS: 10.2.1.x
PIN: s & needles
Carrier: AT&T
Posts: 34,720
Default How To: AutoSync Folders & Files Between PC and Media Card

Please Login to Remove!

Problem: How do you keep files and folders up to date on both your Media Card and on your PC. It seems I was always editing my documents on the PC and saving and then doing another "save as" to save them to my media card. I wanted to have this done automatically.

I found a simple method and thought I'd share. This post is a "How To" on syncing specified folders between your PC and Media Card automatically when you plug your BlackBerry (with media card in mass storage mode) into the Computer. And now, with Documents To Go on the BlackBerry, it's nice to have all my documents up to date whenever I want to edit them on the BlackBerry. The following instructions are based on WindowsXP but Vista should be similar.

First your BlackBerry must be Media Card capable and have a Media Card inserted AND the Device must be set to Automatic Mass Storage Mode. To enable Mass Storage Mode on the BlackBerry device go to Options >Media Card and setup as shown below:








Using the Microsoft PowerToys Applications called SyncToy and TweakUI I was able to get this to work. I will try and make it understandable for anyone reading this. However, some computer knowledge and experience is required to do this.

First, download and install SyncToy 2.1 to your computer. (Note: Some of the screenshots below refer to "SyncToy Beta 2.0." SyncToy has been updated since the screenshots so just substitute the new installation folder names.) Open it and use it to create a folder pair(s). You'll need to choose a folder on the PC and a folder on the BB that you want sync'd. I created several folder pairs, one folder pair called "Sync Toy Shared Files" for some miscellaneous files and another for my Quicken backups.

Also, navigate to c:\Program Files\SyncToy 2.0 Beta and copy the synctoyico.ico into c:\WINDOWS\SYSTEM32. We will use this icon later.













You have the option to Syncronize, Echo or Contribute. Explanations are included in SyncToy for each of the three options. Basically, Syncronize will sync the newest version of the folder/files and put the newest version on both the PC and the device. "Echo" will copy the PC to the Media Card and "Contribute" will copy the Media Card to the PC. If you have files that only get updated on the PC and you want the most current backup on the Media Card then "Echo" would be best. I also use "Echo" for my Quicken Backup folder. For documents that I may edit on my BlackBerry or my PC I set to "Syncronize."








Once you have your folder pair(s) created, you should be able to sync the folders to your media card manually. Test this by trying a sync now before continuing. Click "Run" or "Run All" on the main page of SyncToy.

However, we want to eventually do this automatically, so lets continue.

You'll need to put a copy of the SyncToy program folder on your BB. We will configure the AutoPlay feature in Windows to autoplay the program from the media card instead of the PC so that if a different BB or media card is plugged into the computer it won't attempt to sync with that card.

Using My Computer navigate to to C:\Program Files and copy the entire folder "SyncToy 2.0 Beta" to the root directory (F:\) on your BlackBerry's Media Card.


Simply right-click on the folder shown below and select "Copy."





Then paste it to the root directory (F:\) of your BB's Media Card as shown below. Root Directory just means the first (main) directory on the card.






Once you have the SyncToy Application Folder copied to your Media Card you're ready to setup AutoPlay to run SyncToy.


You'll need to download and install TweakUI. This is another Microsoft application that lets advanced users make changes to Windows setup.


Run TweakUI and navigate to My Computer/AutoPlay/Drives.

Make sure that autoplay is checked for the drive to which your Media Card maps (usually E:/ or F:/ or G:/ depending on how many drives your computer has.)








Next, navigate to My Computer/AutoPlay/Types and make sure that "Enable Autoplay for removeable drives" is checked.








Next, navigate to My Computer/AutoPlay/Handlers
Click the "Create" button.








You will be creating a new handler for SyncToyCmd.exe

Type "SyncToy" in the description field

Don't touch the "using" field.

Edit the Args field to what I have below. Use the drive letter that corresponds to the drive that your Media Card maps to. Mine happens to be F:\







Use the /C followed by the location of the SyncToyCmd.exe file located in the SyncToy 2.0 Beta folder on the Media card. Make sure that the location has quotation marks around it. Then after the quotation marks add a space and "-R" without quotations just as in the screenshot. This will run the SyncToyCmd.exe file and then the -R will start the sync automatically.

Then click on the "Change Program" button and drill down to C:\WINDOWS\System32 and select "cmd.exe" and hit "open."

Note that after you do this, the "Program" should indicate "Windows Command Processor." (As Shown)

Then click on "Change Icon." Navigate to C:\WINDOWS\SYSTEM32\synctoyico.ico and select "Open." That should change the icon from the command prompt icon to the SyncToy icon. (just a nice touch!)







Under "Supported Media" check "Mixed Content."

Click OK on the AutoPlay Handler dialog and click OK to close TweakUI.




Next go to My Computer and right-click on the removable drive that is your BB's media card and select "Properties" and select the "AutoPlay" tab.







In the dropdown box select "Mixed Content." Then select the radio button for "Select an action to perform." Choose the SyncToy application. Then click OK.


You are Done!!

Whenever you plug in your BB the AutoPlay should run the SyncToy program (DOS version) and sync whatever folders you have setup in SyncToy 2.0 Beta.

Good luck and happy syncing!!


Edit 1/17/2009: Don't want the cmd window to show up when you plug the device in but still want the files to sync? Here's a small edit to the instructions above to set that up:

http://www.blackberryforums.com/medi...ml#post1251132

Last edited by John Clark; 02-21-2010 at 08:55 PM..
Offline   Reply With Quote
Old 07-15-2008, 10:49 AM   #2
Sith_Apprentice
Retired BBF Moderator
 
Sith_Apprentice's Avatar
 
Join Date: Aug 2005
Model: 9000
OS: 4.6.0.xxx
Carrier: AT&T
Posts: 10,149
Default

Lunk can we get this in the Faq please

Well done JC as always
Offline   Reply With Quote
Old 07-15-2008, 10:51 AM   #3
John Clark
BBF Moderator
 
John Clark's Avatar
 
Join Date: Jun 2005
Model: Z30
OS: 10.2.1.x
PIN: s & needles
Carrier: AT&T
Posts: 34,720
Default

I need someone to follow the instructions and make sure I didn't leave out any steps.
Offline   Reply With Quote
Old 07-16-2008, 09:43 PM   #4
tessitori
New Member
 
Join Date: Jul 2008
Model: 8800
PIN: N/A
Carrier: ATT
Posts: 7
Default

JC, you're a genius! Thanks!
Offline   Reply With Quote
Old 07-17-2008, 10:16 PM   #5
omkhar
Talking BlackBerry Encyclopedia
 
Join Date: Mar 2006
Model: 9800
OS: 6.x
PIN: 0xDEADBEEF
Carrier: Bell Mobility
Posts: 412
Default

Worked great for me, except rather than duplicating space used by SyncToy I just refered the autorun to execute the SyncToyCmd.exe located on my C:\ drive.

Was there a reason you copied it to your SD card?
Offline   Reply With Quote
Old 07-17-2008, 10:30 PM   #6
John Clark
BBF Moderator
 
John Clark's Avatar
 
Join Date: Jun 2005
Model: Z30
OS: 10.2.1.x
PIN: s & needles
Carrier: AT&T
Posts: 34,720
Default

Wirelessly posted (BB 11020)

I copied it to the card so that it wouldn't sync when I plug in other BB's to the computer.
Offline   Reply With Quote
Old 07-17-2008, 10:38 PM   #7
Horizon Wireless
Platinum Sponsor
 
Horizon Wireless's Avatar
 
Join Date: Dec 2006
Location: CANADA
Model: 9920
OS: 5.2.0.168
PIN: 3218B513
Carrier: ROGERS AND FIDO
Posts: 885
Default

Wow, great Thread JC, worked like a charm. Got it first try. Good man. I love this
__________________
http://www.horizonwirelessonline.com
Wholesale and Retail Blackberry Unlocks - All models & carriers
INSTANT 10% off : HOR10
Offline   Reply With Quote
Old 07-18-2008, 07:51 AM   #8
omkhar
Talking BlackBerry Encyclopedia
 
Join Date: Mar 2006
Model: 9800
OS: 6.x
PIN: 0xDEADBEEF
Carrier: Bell Mobility
Posts: 412
Default

Quote:
Originally Posted by John Clark View Post
Wirelessly posted (BB 11020)

I copied it to the card so that it wouldn't sync when I plug in other BB's to the computer.
Ah, well that makes sense. So following that same thought, rather than copying the entire dir, I just made a batch file which I keep on the SD card that points back to my C:\ copy of SyncToy

Saves space, achieves the same result
Offline   Reply With Quote
Old 07-18-2008, 10:25 AM   #9
ricpac
BBFAQ Sysop
 
ricpac's Avatar
 
Join Date: Oct 2007
Location: Philippines
Model: 9700
OS: X 10.6
PIN: Alt+Shift+H
Carrier: GLOBE
Posts: 3,760
Default

JC's the best!
Offline   Reply With Quote
Old 07-21-2008, 02:53 AM   #10
1Kool guy
Knows Where the Search Button Is
 
Join Date: Jun 2008
Model: 8330
PIN: N/A
Carrier: Sprint/Nextel
Posts: 22
Default

Pretty Kool, I like the How To's.
Offline   Reply With Quote
Old 08-06-2008, 01:14 PM   #11
Roll
Thumbs Must Hurt
 
Join Date: May 2008
Model: 8330
PIN: N/A
Carrier: Verizon Wireless
Posts: 158
Default

Using Sync Toy......After setting up the two folders, one on the Desktop and one on the media card in the BlackBerry, selecting the sync command, naming the folder group and clicking OK, I get this error:


The procedure entry point TraceMessage could not be located in the dynamic link library ADVAP132.dll


Make sense to anyone? I didn't find it in the help file.

Roll
Offline   Reply With Quote
Old 08-17-2008, 09:12 PM   #12
snhrph
Talking BlackBerry Encyclopedia
 
Join Date: Feb 2007
Location: Central NJ
Model: 9900
OS: 7.1.0.284
PIN: nacle of creation
Carrier: ATT
Posts: 319
Default

NM, figured it out.

Thank you.

Last edited by snhrph; 08-17-2008 at 09:37 PM..
Offline   Reply With Quote
Old 01-15-2009, 05:58 PM   #13
tanner_sis
New Member
 
tanner_sis's Avatar
 
Join Date: Nov 2008
Location: the nearest rock concert
Model: 8330
PIN: 31B2CAC2
Carrier: Verizon
Posts: 13
Default

for Vista you must have Tweak VI and the freeware version doesn't seem to have the autoplay features..only the settings.. so I got the subscription version via torrents and am searching for how to change the autoplay like you have said..its more difficult to navigate on the tweak vi..if anyone has done this already please let me know where to look
__________________
BB8330 Verizon since June 2008
PIN:31B2CAC2
Offline   Reply With Quote
Old 01-17-2009, 07:16 PM   #14
John Clark
BBF Moderator
 
John Clark's Avatar
 
Join Date: Jun 2005
Model: Z30
OS: 10.2.1.x
PIN: s & needles
Carrier: AT&T
Posts: 34,720
Default

So, I've grown tired of the cmd window showing up each time I plug in my BB but I still want the files to sync. I wanted the application to run minimized.

So, I just made a slight change to my setup of this. I copied/moved all the individual synctoy application files that are in the SyncToy 2.0 Beta folder on the media card into the root directory of my media card drive (F:\)

Then I created a simple .bat file using Notepad. All it needs to say is:

Code:
 start /min SyncToyCmd.exe -R
Just open notepad, copy the code above into it and then do a "save as" and save it as "SyncFiles.bat" (or any other name you want to use.) The /min switch will run the synctoycmd.exe file minimized.

Then place that .bat file to the root directory of your media card, in my case F:\.

Then simply go back into TweakUI to >My Computer >AutoPlay >Handlers> Highlight the SyncToy AutoPlay Handler and select "Edit." Then change the Args: field to say
Code:
/C "F:\SyncFiles.bat" -R
(use the same name you used for the .bat file above.)

Also, I've added instructions for changing the icon from the command prompt icon to the SyncToy icon. You can go back into TweakUI >My Computer >AutoPlay >Handlers >SyncToy and change the icon. Once you do, save those settings and close TweakUI. Then go to My Computer and do the following again:

Next go to My Computer and right-click on the removable drive that is your BB's media card and select "Properties" and select the "AutoPlay" tab.




Last edited by John Clark; 01-17-2009 at 08:23 PM..
Offline   Reply With Quote
Old 02-22-2009, 12:49 AM   #15
bprender
New Member
 
Join Date: Feb 2009
Model: 8830
PIN: N/A
Carrier: Verizon
Posts: 3
Default Way around the TweakUI in Vista?

I completely understand everything you've said, and I think it's a great idea. I am running Windows Vista, however. The TweakUI interface does not seem to be available for Vista. Can you think of a way to work with the autoplay features in Vista? As I understand it, through Vista the only way I can get a pseudo-automatic sync is by running the SyncToy through Windows Application Launcher, which would be fine, but obviously far less convenient. I'd appreciate any help. Thanks!
Offline   Reply With Quote
Old 02-23-2009, 12:08 AM   #16
bprender
New Member
 
Join Date: Feb 2009
Model: 8830
PIN: N/A
Carrier: Verizon
Posts: 3
Default For Vista

I figured out a solution to my above post regarding this process in Vista. I just created an autorun.inf file on the root K:/ (blackberry assigned drive). I typed in:

[autorun]
open=SyncToy.exe
icon=SyncToyico.ico

And then I saved it as autorun.inf and copied it to the K:/

I included a picture of the new menu that pops up when I connect my blackberry as an attachment.

So that was it. I followed all the synctoy related instructions as described above (installed synctoy, paired folders, and then copied all synctoy related files to the K:/). They only take up about 2 mb. I'm going to mark them all as hidden and hopefully they won't ever be seen again.

I'm pretty sure you can edit the above three lines to do the automatic, updated version as of January 2009. I haven't tried it though.

I should mention I plugged in my blackberry on my girlfriend's XP computer and this did not work. Probably has to do with the "Tweaking" that must be done in the original post.

Hope it works! I pretty much no nothing about this stuff...
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	274
Size:	28.5 KB
ID:	15325  
Offline   Reply With Quote
Old 02-23-2009, 12:25 AM   #17
bprender
New Member
 
Join Date: Feb 2009
Model: 8830
PIN: N/A
Carrier: Verizon
Posts: 3
Default For Vista pt. 2

I fooled around some more with the autorun.inf file. I changed the document to this:

[autorun]
open=SyncToyCmd.exe -R
icon=SyncToyico.ico

This seems to coincide better with the OP. This way the entire program doesn't pop up, and it is somewhat automated after you click whether to let the command go through or whether you want to view folder contents. Still haven't figured out how to automate the entire process, but I'm close. I can feel it.

Also, I did hide all my files. Unless I have hidden files marked as visible, I can not see the files on my computer or on the device through "documents to go" (OS 4.5 update).

Sorry for the multiple posts!
Offline   Reply With Quote
Old 04-10-2009, 05:17 AM   #18
HiSoC8Y
New Member
 
Join Date: Feb 2009
Model: 9000
PIN: N/A
Carrier: Dubai
Posts: 1
Default

doesn't blackberrry media sync do that or its for just media files?
Offline   Reply With Quote
Old 04-10-2009, 10:37 AM   #19
John Clark
BBF Moderator
 
John Clark's Avatar
 
Join Date: Jun 2005
Model: Z30
OS: 10.2.1.x
PIN: s & needles
Carrier: AT&T
Posts: 34,720
Default

Wirelessly posted (BB 11020)

No, Media Sync is only for iTunes playlists.
Offline   Reply With Quote
Old 06-28-2009, 10:10 AM   #20
drewfs7270
New Member
 
Join Date: Jan 2009
Model: 8300
PIN: N/A
Carrier: att
Posts: 1
Default

I tried to get Synctoy 2.0 to work but all it does is create folders with no transfered itunes files in them. What went wrong?
Offline   Reply With Quote
Reply


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

Forum Jump


HP 3488A HPIB Switch / Control Unit Mainframe picture

HP 3488A HPIB Switch / Control Unit Mainframe

$24.99



Tektronix TM5003 Power Module Mainframe Chassis picture

Tektronix TM5003 Power Module Mainframe Chassis

$225.00



HP/Agilent E1301B Series B VXI Mainframe 75000 -  picture

HP/Agilent E1301B Series B VXI Mainframe 75000 -

$155.00



Fluke Networks Versiv Modular Mainframe - Light Delamitation picture

Fluke Networks Versiv Modular Mainframe - Light Delamitation

$1299.95



Tektronix TLA704 mainframe, TLA 7L3, TLA 7D1 modules, GHz probes, total system picture

Tektronix TLA704 mainframe, TLA 7L3, TLA 7D1 modules, GHz probes, total system

$499.00



APPLIED MATERIALS AMAT MAIN FRAME INTERLOCK RELAYS MODULE, 0130-02362 REV 003 picture

APPLIED MATERIALS AMAT MAIN FRAME INTERLOCK RELAYS MODULE, 0130-02362 REV 003

$300.00







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.