最近有win10純凈版系統(tǒng)用戶在TXT文檔右鍵想要打開的時候,發(fā)現(xiàn)右鍵菜單中的打開方式里面有兩個記事本,為什么會樣呢?我們應(yīng)該如何刪掉其中的一個,下面就給大家講解一下win10純凈版系統(tǒng)打開方式中有兩個記事本怎么辦的具體解決方法。
第一步:在win10桌面上,空白處,右鍵,新建-文本文檔;
第二步:雙擊打開【新建文本文檔】;
第三步:把下面代碼復(fù)制,粘貼進去:
@echo off
if exist "%systemroot%/notepad.exe" set Npath="%systemroot%/notepad.exe %"1
if not exist "%systemroot%/notepad.exe" set Npath="%systemroot%/system32/notepad.exe %"1
reg add "HKCR/txtfile/shell/open/command" /ve /d %Npath% /t REG_SZ /f
reg add "HKCR/Applications/notepad.exe/shell/open/command" /ve /d %Npath% /t REG_SZ /f
reg add "HKCR/SystemFileAssociations/text/shell/open/command" /ve /d %Npath% /t REG_SZ /f
第四步:單擊文件,另存為 記事本.bat 。點擊保存。
第五步:雙擊 記事本.bat ,重啟電腦即可解決問題!
經(jīng)過上面的方法就可以解決win10純凈版系統(tǒng)打開方式中有兩個記事本的這個問題了,然后再打開右鍵菜單就會發(fā)現(xiàn)只剩一個記事本選項了。
留言與評論(共有 條評論) |