从mac换到windows想美化一下系统于是在网上找了一个bat脚本用来美化
没想到脚本第一次找的脚本有问题导致了一些错误:
任务栏点击快捷方式时 弹出 该文件没有与之关联的应用来执行该操作
查了半天得以恢复
回复方法如下
(输入:cmd /k reg add "HKEY_CLASSES_ROOTlnkfile" /v IsShortcut /f & taskkill /f /im explorer.exe & start explorer.exe )
方法一:
win+R,输入regedit,分别在
HKEY_CLASSES_ROOTpiffile
HKEY_CLASSES_ROOTInternetShortcut
HKEY_CLASSES_ROOTlnkfile
中新建→字符串值,命名为IsShortcut
方法二:
taskkill /f /im explorer.exe
reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerShell Icons" /v 29 /d "C:Windowssystem32imageres.dll,154" /t reg_sz /f
reg add "HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerShell Icons" /v 29 /d "C:Windowssystem32imageres.dll,154" /t reg_sz /f
reg add "HKEY_CLASSES_ROOTlnkfile" /