lnk 檔案恢復預設開啟方式

2021-10-23 22:28:51 字數 1575 閱讀 3990

新建txt文字寫入一下指令碼,另存為.reg檔案,雙擊執行即可(可能會提示一部分在使用無法匯入,可以忽視掉)執行完畢後登出或重啟電腦即可

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]

[hkey_classes_root\lnkfile]

@="快捷方式"

"editflags"=dword:00000001

"nevershowext"=""

"isshortcut"=""

[hkey_classes_root\lnkfile\clsid]

@=""

[hkey_classes_root\lnkfile\shellex]

[hkey_classes_root\lnkfile\shellex\contextmenuhandlers]

[hkey_classes_root\lnkfile\shellex\contextmenuhandlers\offline files]

@=""

[hkey_classes_root\lnkfile\shellex\contextmenuhandlers\]

[hkey_classes_root\lnkfile\shellex\drophandler]

@=""

[hkey_classes_root\lnkfile\shellex\iconhandler]

@=""

[hkey_classes_root\lnkfile\shellex\propertysheethandlers]

[hkey_classes_root\lnkfile\shellex\propertysheethandlers\shimlayer property page]

@=""

[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]

WIN10恢復檔案預設開啟方式

在eclipse中建立了file,在win下選擇用某個程式 如記事本 開啟之後 每次用eclipse建立同型別的檔案,都會預設用指定的程式打卡,而不能再eclipse中直接編輯 找了半天終於找到方法,記錄一下 1.win r,regedit,開啟登錄檔 2.找到並刪除heky classes roo...

bat 檔案預設開啟方式不對

今天在處理檔案的時候.bat 檔案預設開啟方式變成了 notepad 打不開只能用cmd 來選擇路徑開啟於是查詢出以下方法 先開啟註冊列表 cmd regedit 找到資料夾 hkey current user software microsoft windows currentversion ex...

lnk快捷方式無法開啟解決方法

今天解除安裝軟體出現了問題,登錄檔項可能丟失了,lnk檔案關聯無論如何修復 快捷方式都沒有用,全部變了,也無法開啟,解決方法來自網路,一開啟記本事,編輯如下,另存為a.reg windows registry editor version 5.00 hkey classes root lnk lnk...