參考鏈接:w10系統:該文件沒有與之關聯的程序來執行該操作。請安裝應用,偌已經安裝應用,請在“默認應用設置“
問題:Win10系統,點擊此電腦右鍵管理和文件資源管理器出現了:該文件沒有與之關聯的程序來執行該操作。請安裝應用,若已經安裝應用,請在“默認應用設置“頁面中創建關聯。
參考:刪除快捷方式小箭頭導致的
解決:方法一:
win+R,輸入regedit,分別在
HKEY_CLASSES_ROOT\piffile
HKEY_CLASSES_ROOT\InternetShortcut
HKEY_CLASSES_ROOT\lnkfile
中新建→字符串值,命名為IsShortcut
方法二:保存為.bat格式管理員運行。
taskkill /f /im explorer.exe reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "C:\Windows\system32\imageres.dll,154" /t reg_sz /f reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "C:\Windows\system32\imageres.dll,154" /t reg_sz /f reg add "HKEY_CLASSES_ROOT\lnkfile" /v IsShortcut /t reg_sz /f reg add "HEKY_CLASSES_ROOT\piffile" /v IsShortcut /t reg_sz /f start explorer
注意:如果還需要除去小箭頭用下面的命令,用這個方法就可以避免錯誤了,新建一個文本文件,粘貼后另存為.bat文件,然后以管理員身份打開
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "%systemroot%\system32\imageres.dll,197" /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 pause