Computing.Net > Forums > Windows XP > Batch file to backup Favourites

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch file to backup Favourites

Reply to Message Icon

Name: Roger Wright
Date: October 29, 2002 at 05:09:05 Pacific
OS: XP Pro
CPU/Ram: 1.2GHz Athlon/896MB SDRAM
Comment:

Hi, I'm trying to create a simple batch file to copy the entire contents of my Favorites folder to another location on a diferent hard drive for backup purposes.

My Favorites folder has subfolders containing the Favorites links. I want to copy the entire tree from the Favorites folder down thru the subfolders and all the contents of those subfolders. What's the command syntax for the DOS box in XP Pro please?

And while I'm at it, I don't suppose it's possible, but has anyone ever managed to rename their Favorites folder to Favourites. Irritates the hell out of me that Bill doesn't want to produce an English version of XP when he does just about any other non-US language. (Steps off soapbox).

Thanks,

Roger.



Sponsored Link
Ads by Google

Response Number 1
Name: Roger
Date: October 29, 2002 at 05:10:19 Pacific
Reply:

Oops! For "diferent" read "different".


0

Response Number 2
Name: Chuck
Date: October 29, 2002 at 05:14:44 Pacific
Reply:

Great, another idiot who imagines that every vaguery in any version of Windows is the sole rsponsibility of Bill Gates. How dumb.

Try using the Help files - they help!

At a command prompt: copy /?, or xcopy /?


0

Response Number 3
Name: Brian Rignall
Date: October 29, 2002 at 05:29:31 Pacific
Reply:

A word of advice:

When asking of people for their kindness and support, it does not serve any benefit to disparage those who may be in a position to help.

Let's not worry about the American dictionary - it's been in use with Microsoft and other supplier's products for decades.

As for your request: if one is to backup using a utility then the folders & files to be backed up can be saved. I refer to those which are provided with ZIP drives, CR Burners etc. or even Backup in XP itself: which further allows for incremental backup; thus only copying new or changes files and their folders.

If you are backing up from one folder to another on the same Hard Disk, there would appear to be little benefit in such an exercise.


0

Response Number 4
Name: Sandman
Date: October 29, 2002 at 06:52:21 Pacific
Reply:

Way out of line Chuck. But he is right. Make a new batch file with the following

xcopy /e /i "%HOMEDRIVE%%HOMEPATH%\favorites" "a:\BuFavorites"

"%HOMEDRIVE%%HOMEPATH%\favorites" tells xcopy which folder to copy.

"a:\BuFavorites" is the destination of the backup files

Hope this helps,
Sandman



0

Response Number 5
Name: Sandman
Date: October 29, 2002 at 07:39:34 Pacific
Reply:

One more thing to add to my last post. If you always back up to the same location you might want to add the /y switch so it won't prompt you to overwrite files every time.

xcopy /e /i /y "%HOMEDR.....

Sandman


0

Related Posts

See More



Response Number 6
Name: Bon Bon
Date: October 29, 2002 at 10:00:49 Pacific
Reply:

Upchucp.com , somehow that address seems appropriate.


0

Response Number 7
Name: Roger
Date: October 30, 2002 at 05:53:17 Pacific
Reply:

Guys, taken in order:

Chuck:

1. I'm not an idiot but you are rude.
2. Learn to spell.
3. For "Bill" read "Microsoft".
4. I tried using xcopy (as it says in the helpfiles, which I *do* read). It should copy directory trees but I can only get it to copy files, not subfolders which I was expecting, hence my request for help with the syntax.

Brian:

Thanks for a sane (and polite) reply. I don't think I was disparaging unnecessarily - I seem to remember there was talk of a Welsh Language version of Windows at some point (don't know if it ever happened, but there are certainly lots of languages supported), so why not UK English?

I wanted to write the batch file for the mental exercise, but thanks for pointing out the utilities I could use.

I did mention that I'm backing up to a different harddrive. Having recently had a drive failure, I'm all too aware that they can go bang!

Thanks again!

Sandman:

Thanks, I'll try that tonight. If I get it going I'll post back and let you know.

Bon Bon:

Thanks for the smile! :-)

Cheers all,

Roger.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Batch file to backup Favourites

Using BATCH file to backup data www.computing.net/answers/windows-xp/using-batch-file-to-backup-data/66927.html

Batch file to read an ini & more... www.computing.net/answers/windows-xp/batch-file-to-read-an-ini-amp-more/95707.html

Batch file to delete by date www.computing.net/answers/windows-xp/batch-file-to-delete-by-date-/135330.html