BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 10-19-2006, 11:21 PM   #21
zenxacred
Thumbs Must Hurt
 
Join Date: Sep 2006
Model: 8100
Carrier: T-Mobile
Posts: 93
Default

Please Login to Remove!

don't forget to change this line in the backup script:

xcopy "G:\*" "C:\MicroSDBackup"

to the drive letter that the blackberry pops-up in. (mine is the I:\)
Offline  
Old 10-20-2006, 09:45 AM   #22
MrKyoo
BlackBerry Master
 
MrKyoo's Avatar
 
Join Date: Oct 2005
Location: Los Angeles
Model: 4s
OS: iOS
PIN: 79B32491
Carrier: AT&T
Posts: 4,546
Default

Thanks krad for this script.

~MrKyoo
__________________
http://twitter.com/mrkyoo
Offline  
Old 10-20-2006, 12:44 PM   #23
krad
No longer Registered.
 
krad's Avatar
 
Join Date: Jul 2005
Model: 0000
Posts: 788
Default

Quote:
Originally Posted by MrKyoo
Thanks krad for this script.

~MrKyoo
np... i am all about sharing.
Offline  
Old 10-20-2006, 02:37 PM   #24
CivilE
Knows Where the Search Button Is
 
CivilE's Avatar
 
Join Date: Sep 2006
Model: 8100
Carrier: tmo
Posts: 22
Default

Sweet!!! Thanks Krad!

:cheers:

CivilE
Offline  
Old 10-20-2006, 02:52 PM   #25
Wavshrdr
Thumbs Must Hurt
 
Join Date: Apr 2006
Location: USA
Model: 8100
Carrier: t-moron
Posts: 64
Default

krad- you rock! You saved me some time of writing of doing something similar. I just edited your batch file to reflect what I want to backup and it worked very smoothly. Kudo to you! This should be a sticky. I am sure someone here won't be able to figure out how to edit something and will whine that it doesn't work.

If you can't figure out how to make it work, go look at a library book regarding batch or command line commands and you'll have no problem following it. If you want it to back up your audio and video filels as well, just insert REM and a space before the lines before the echo commands so they look something like this.

REM echo .mp3>> c:\MicroSDBackup\excluded.txt
REM echo .avi>> c:\MicroSDBackup\excluded.txt

Then it will back up everything on the device or you could edit these lines to exclude whatever file types you want.
Offline  
Old 10-20-2006, 03:00 PM   #26
krad
No longer Registered.
 
krad's Avatar
 
Join Date: Jul 2005
Model: 0000
Posts: 788
Smile

Quote:
Originally Posted by Wavshrdr
krad- you rock! You saved me some time of writing of doing something similar. I just edited your batch file to reflect what I want to backup and it worked very smoothly. Kudo to you! This should be a sticky. I am sure someone here won't be able to figure out how to edit something and will whine that it doesn't work.

If you can't figure out how to make it work, go look at a library book regarding batch or command line commands and you'll have no problem following it. If you want it to back up your audio and video filels as well, just insert REM and a space before the lines before the echo commands so they look something like this.

REM echo .mp3>> c:\MicroSDBackup\excluded.txt
REM echo .avi>> c:\MicroSDBackup\excluded.txt

Then it will back up everything on the device or you could edit these lines to exclude whatever file types you want.
np... I hack/mod/program anything i can. I would like to edit the script to run without the blackberry drive letter.... I will work on that.

Your post is an example of why i posted it.... it took me about 5 mintues to make and test the script.. but for others who are not as experienced, it could have taken hours. You really don't see excluded lists in batch files.. But with the right ideas and alittle knowledge, you can make cool things happen.
Offline  
Old 10-20-2006, 03:11 PM   #27
Wavshrdr
Thumbs Must Hurt
 
Join Date: Apr 2006
Location: USA
Model: 8100
Carrier: t-moron
Posts: 64
Default

I made a few changes to mine. I wanted to have explorer open up the actual directories so I added this to the end of the batch file.

explorer.exe g:\
explorer.exe c:\microSDbackup

First line invokes explorer to open up my "Blackberry" itself and the other opens up where my backup is at. You could add just one or the other. Change them to reflect your particular drive letter and configuration.

I like my change in that it opens up my BB so I can copy new files to it since if I invoke the autorun.inf file it just closes the DOS prompt after it is done and I still have to go to my computer to open it up. This way I can be lazy and save a step.

If I have time I may write a change that would list all files that are backed up and save it as a text file. Unfortunately I am so busy at work that I don't have much time for "play". Thanks again for the basic script krad!
Offline  
Old 10-20-2006, 03:51 PM   #28
krad
No longer Registered.
 
krad's Avatar
 
Join Date: Jul 2005
Model: 0000
Posts: 788
Default

Quote:
Originally Posted by Wavshrdr
I made a few changes to mine. I wanted to have explorer open up the actual directories so I added this to the end of the batch file.

explorer.exe g:\
explorer.exe c:\microSDbackup

First line invokes explorer to open up my "Blackberry" itself and the other opens up where my backup is at. You could add just one or the other. Change them to reflect your particular drive letter and configuration.

I like my change in that it opens up my BB so I can copy new files to it since if I invoke the autorun.inf file it just closes the DOS prompt after it is done and I still have to go to my computer to open it up. This way I can be lazy and save a step.

If I have time I may write a change that would list all files that are backed up and save it as a text file. Unfortunately I am so busy at work that I don't have much time for "play". Thanks again for the basic script krad!
Yeah.. that is not hard to do, but what would the purpose be to have a file tell you what files it backed up? why not just look?

It is just a quick echo command to a new backupfile.txt I just don't see the purpose... But if you find value that is good.

The reason i made the script the way i did is because i am always nervous about loading programs that others create, if i were to have it load in explorer... people could get nervous and ask...what else is loading?

This way, the user has the right to load upon insertion... They can see that nothing is loading in the background... only invoked when they click on it.
Offline  
Old 10-20-2006, 03:52 PM   #29
krad
No longer Registered.
 
krad's Avatar
 
Join Date: Jul 2005
Model: 0000
Posts: 788
Default

It is friday 5pm... i am out like shout!
Offline  
Old 10-20-2006, 04:11 PM   #30
Wavshrdr
Thumbs Must Hurt
 
Join Date: Apr 2006
Location: USA
Model: 8100
Carrier: t-moron
Posts: 64
Default

Quote:
Originally Posted by krad
Yeah.. that is not hard to do, but what would the purpose be to have a file tell you what files it backed up? why not just look?

It is just a quick echo command to a new backupfile.txt I just don't see the purpose... But if you find value that is good.

The reason i made the script the way i did is because i am always nervous about loading programs that others create, if i were to have it load in explorer... people could get nervous and ask...what else is loading?

This way, the user has the right to load upon insertion... They can see that nothing is loading in the background... only invoked when they click on it.
I have a lot of sub directories and it would take me longer to look down through the directories where I have files stored than to look at a quick list of text. I keep client related files attachments that I need to send and it is just sort of a safety check and to help with billing my clients.

I understand that some people would be concerned if they see explorer somewhere in a batch file but just running a batch file is a risk anyway.
Offline  
Old 11-16-2006, 05:48 PM   #31
krad
No longer Registered.
 
krad's Avatar
 
Join Date: Jul 2005
Model: 0000
Posts: 788
Lightbulb Update

Added right click option "shortcut" to Blackberry Desktop Manager..... file updated on first post... here is a screenshot....



Offline  
Old 11-16-2006, 06:01 PM   #32
Mandizzle
BlackBerryFAQ.com Moderator
 
Join Date: Nov 2006
Location: TorontO
Model: 9800
OS: 6.0.0.246
PIN: 2322E11D
Carrier: Rogers
Posts: 471
Default

Awesome looking script there dude. I'll get home later on and try this out first things first.

Thanks!
Offline  
Old 11-17-2006, 10:44 AM   #33
krad
No longer Registered.
 
krad's Avatar
 
Join Date: Jul 2005
Model: 0000
Posts: 788
Default

Anyone having issues excluding certain file types like mp3 and avi?

loveintheclub msg me a few times about it.
Offline  
Old 02-08-2007, 08:14 AM   #34
kurrupt_1
CrackBerry Addict
 
kurrupt_1's Avatar
 
Join Date: Sep 2005
Location: SoCal
Model: 9700
OS: 5.0.0.979
PIN: 2159FC90
Carrier: T-Mobile
Posts: 606
Default

Nice work!

Last edited by kurrupt_1; 02-08-2007 at 08:48 AM..
Offline  
Old 03-14-2007, 11:53 AM   #35
ducati
New Member
 
Join Date: Nov 2005
Model: 8300
Carrier: AT&T
Posts: 5
Default

Link to the file download appears to be broken. Does anyone have a copy this they could repost or send?
Offline  
Old 03-14-2007, 01:35 PM   #36
krad
No longer Registered.
 
krad's Avatar
 
Join Date: Jul 2005
Model: 0000
Posts: 788
Default

Since you resurrected the thread... i will go back and re-enable the link... Should be up in 1min
Offline  
Old 03-14-2007, 01:39 PM   #37
krad
No longer Registered.
 
krad's Avatar
 
Join Date: Jul 2005
Model: 0000
Posts: 788
Default

file is back up now. enjoy
Offline  
Old 03-14-2007, 07:35 PM   #38
ducati
New Member
 
Join Date: Nov 2005
Model: 8300
Carrier: AT&T
Posts: 5
Default

excellent. thanks!
Offline  
Old 03-14-2007, 10:44 PM   #39
Schneider
Thumbs Must Hurt
 
Schneider's Avatar
 
Join Date: Mar 2007
Location: Oak Park, California
Model: pearl
Carrier: cingular
Posts: 139
Default

awesome thanks man
Offline  
Old 03-15-2007, 04:40 PM   #40
indramilo
Thumbs Must Hurt
 
Join Date: Dec 2006
Location: Cd. Juárez, Chihuahua, México
Model: 8100
PIN: 2053A30B
Carrier: Telcel
Posts: 70
Default

thanks for the program, I won't need to back up my pictures manually anymore :D
__________________
[Blackberry & Linux]
Blackberry 8100
Offline  
Closed Thread



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


Schneider 140CPU65150 Processor/Controller MODICON Quantum NEW picture

Schneider 140CPU65150 Processor/Controller MODICON Quantum NEW

$2835.00



ALLEN BRADLEY PROCESSOR PLC 5 1785-L30B C No Key Series C STOCK 1950 picture

ALLEN BRADLEY PROCESSOR PLC 5 1785-L30B C No Key Series C STOCK 1950

$116.00



Processor SY007 Intel Pentium 100 MHz CPU picture

Processor SY007 Intel Pentium 100 MHz CPU

$11.75



AlphaSmart Neo2 Laptop Word Processor Portable Notebook Pad picture

AlphaSmart Neo2 Laptop Word Processor Portable Notebook Pad

$89.97



Used & Tested TEKNOR T936IBAAB CPU Single Board picture

Used & Tested TEKNOR T936IBAAB CPU Single Board

$330.91



New Allen Bradley 1747-L531 SER E SLC 5/03 CPU Processor Unit Module 1747L531 picture

New Allen Bradley 1747-L531 SER E SLC 5/03 CPU Processor Unit Module 1747L531

$317.47







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