(view source code of notrkico.bat as plain text)
ECHO Disable "smart shortcuts" or "icon tracking" on the local PC
ECHO copying a shortcut file from one PC to another may lead to extremely
ECHO slow applications, because they are actually running on the computer
ECHO where the shortcut was created originally.
ECHO Individual shortcuts may be "restored" by using a utility called
ECHO However, this batch file adds a registry setting that will cause
ECHO the computer to completely ignore the UNC path of ANY shortcut.
ECHO Written by Rob van der Woude
ECHO Based on a tip by Sander Jousma
ECHO Press any key to disable icon tracking, or Ctrl+C to abort . . .
:: Create temporary .REG file
> "%Temp%.\_NoTrack.reg" ECHO REGEDIT4
>>"%Temp%.\_NoTrack.reg" ECHO [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\LinkResolve]
>>"%Temp%.\_NoTrack.reg" ECHO "IgnoreLinkInfo"=dword:00000001
:: Add a dummy title for Windows NT 4 or 2000
:: Merge temporary .REG file
START /WAIT %Title% REGEDIT.EXE /S "%Temp%.\_NoTrack.reg"
|page last uploaded: 2017-07-06, 12:37|