Something Wicked This Way Comes

Jan 15 2009   4:14PM GMT

Windows Batch File to Backup Internet Explorer Favorites

Dave Raffo Dave Raffo Profile: Dave Raffo

Here is a quick batch file I wrote to copy Microsoft Internet Explorer Favorites to another location. Fill in the BACKUPPATH variable and stick it in a Group Policy logon (or logoff) script to make sure that users have a backup of the bookmarks.

@echo off
rem -----------------------------------------------------------------
rem backup-iefavs.bat
rem Copies Internet Explorer Favorites to another location
rem written by Spencer Kuziw (s.kuziw-at-epic-dot-ca)
rem -----------------------------------------------------------------

rem Path to Backup Location (no quotes necessary for log names)
rem can be a local path or UNC
set BACKUPPATH=%USERPROFILE%\Desktop\Very Long Name This Is

xcopy "%USERPROFILE%\favorites" "%BACKUPPATH%\favorites" /i /t /y
xcopy "%USERPROFILE%\favorites" "%BACKUPPATH%\favorites" /e /i /y


 Comment on this Post

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network: