How to add Favorite links to Internet Explorer using a Batch file

Опубликовано: 28 Июль 2026
на канале: furulevi
15,027
26

When the batch file is run, some links will automatically appear in Internet Explorer's favorites bar.

This trick is useful if you are changing frequently your Windows Operating System and want to quickly add back some favorite links into Internet Explorer's bar.

Content of the .bat file:

@echo off
xcopy /e /q /h /r /y /i "favorites" "%systemdrive%\Users\%USERNAME%\favorites"
echo.
pause


The .bat file must be in the same folder as "favorites". The folder "favorites" contains the folder called "links", which contains the .url files that will be shown in Internet Explorer's Favorites bar.