Jan 15 2009 4:14PM GMT
Posted by: Spencer Kuziw
Add new tag, Internet Explorer, Batch, Favorites, Windows, Group Policy
Windows Batch File to Backup Internet Explorer Favorites
Posted by: Spencer Kuziw
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.
CODE:
-
@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 VARIABLES
-
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
-
-
:copy
-
xcopy “%USERPROFILE%\favorites” “%BACKUPPATH%\favorites” /i /t /y
-
xcopy “%USERPROFILE%\favorites” “%BACKUPPATH%\favorites” /e /i /y
-
-
:eof


