如果使用普通方法刪除Win7快捷方式的小箭頭,會(huì)使系統(tǒng)出現(xiàn)異常,比如開(kāi)始菜單中的程序無(wú)法刪除、收藏夾無(wú)法展開(kāi)等,網(wǎng)上流傳使用透明圖標(biāo)的方法有可能會(huì)使圖標(biāo)上留下一塊黑痣!
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "%systemroot%\system32\imageres.dll,196" /t reg_sz /f
taskkill /f /im explorer.exe
attrib -s -r -h "%userprofile%\AppData\Local\iconcache.db"
del "%userprofile%\AppData\Local\iconcache.db" /f /q
start explorer
將上面的代碼復(fù)制到記事本中,然后另存123.bat,文件類型為所有文件,然后右鍵123.bat-以管理員身份運(yùn)行,注意代碼格式不要復(fù)制錯(cuò)誤
運(yùn)行后,快捷方式的小箭頭就被“刪除”了。
XP去掉小箭頭的方和和Win7一樣,只是所用到的文件不同
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "C:\Windows\system32\shell32.dll,49" /t reg_sz /f
taskkill /f /im explorer.exe
attrib -s -r -h "%userprofile%\Local Settings\Application Data\iconcache.db"
del "%userprofile%\Local Settings\Application Data\iconcache.db" /f /q
start explorer
恢復(fù)Win7快捷方式箭頭,注意代碼格式不要復(fù)制錯(cuò)誤
reg
taskkill /f /im explorer.exe
attrib -s -r -h "%userprofile%\AppData\Local\iconcache.db"
del "%userprofile%\AppData\Local\iconcache.db" /f /q
start explorer
恢復(fù)XP快捷方式箭頭,注意代碼格式不要復(fù)制錯(cuò)誤
reg
taskkill /f /im explorer.exe
attrib -s -r -h "%userprofile%\Local Settings\Application Data\iconcache.db"
del "%userprofile%\Local Settings\Application Data\iconcache.db" /f /q
start explorer