今天不小心在win7里把快捷方式的文件关联改为资源管理器了,这下掉大了。查了资料,改下注册表就OK了。
把如下内容copy到一个txt文件中另存为fixlink.reg双击导入注册表,然后重启explorer.exe
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT/.lnk]
[-HKEY_CLASSES_ROOT/lnkfile]
[-HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/FileExts/.lnk]
[HKEY_CLASSES_ROOT/.lnk]
@="lnkfile"
[HKEY_CLASSES_ROOT/.lnk/ShellNew]
"Command"="rundll32.exe appwiz.cpl,NewLinkHere %1"
[HKEY_CLASSES_ROOT/lnkfile]
@="快捷方式"
"EditFlags"=dword:00000001
"NeverShowExt"=""
"IsShortcut"=""
[HKEY_CLASSES_ROOT/lnkfile/CLSID]
@="{00021401-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOT/lnkfile/shellex]
[HKEY_CLASSES_ROOT/lnkfile/shellex/ContextMenuHandlers]
[HKEY_CLASSES_ROOT/lnkfile/shellex/ContextMenuHandlers/Offline Files]
@="{750fdf0e-2a26-11d1-a3ea-080036587f03}"
[HKEY_CLASSES_ROOT/lnkfile/shellex/ContextMenuHandlers/{00021401-0000-0000-C000-000000000046}]
[HKEY_CLASSES_ROOT/lnkfile/shellex/DropHandler]
@="{00021401-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOT/lnkfile/shellex/IconHandler]
@="{00021401-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOT/lnkfile/shellex/PropertySheetHandlers]
[HKEY_CLASSES_ROOT/lnkfile/shellex/PropertySheetHandlers/ShimLayer Property Page]
@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"
[HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/FileExts/.lnk]
[HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/FileExts/.lnk/OpenWithList]
[HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/FileExts/.lnk/OpenWithProgids]
"lnkfile"=hex(0):
[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/.lnk]
@="lnkfile"
[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/.lnk/ShellNew]
"Command"="rundll32.exe appwiz.cpl,NewLinkHere %1"
去掉快捷方式上的小箭头(del_lnkarrow.reg):
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT/lnkfile]
"IsShortCut"=-
[HKEY_CLASSES_ROOT/piffile]
"IsShortCut"=-
[HKEY_CLASSES_ROOT/InternetShortcut]
"IsShortCut"=-