电脑店系统

当前位置:主页 > 系统教程 >

手把手帮你win10系统右键菜单中有两个记事本打开方式的技巧?

日期:2017-07-16 00:00 作者:电脑店系统 来源:http://www.gouwuxitong.com

手把手帮你win10系统右键菜单中有两个记事本打开方式的技巧?

  有很多win10系统网友在桌面鼠标右键想要新建记事本的时候,却发现右键菜单中有两个记事本打开方式,这是怎样回事呢,该怎么删掉一个呢?现在给我们详解一下win10系统右键菜单中有两个记事本打开方式的具体处理办法。

  1、在win10系统桌面上,空白处,右键,新建-文本文档;

  2、双击打开【新建文本文档】; 

  3、把下面代码复制,粘贴进去: 

@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

  4、点击文件,另存为 记事本.bat 。打开保存。

  5、双击 记事本.bat ,重启电脑便可处理问题!
  经过上面的办法就可以处理win10系统右键菜单中有两个记事本打开方式这个问题了,然后再打开右键菜单就会发现只剩一个记事本选项了。