时间:2018-12-03作者:xp系统之家 来源:http://www.37m.cn
近期有win7装机版系统用户在TxT文档右键想要打开的时候,发现右键菜单中的打开方式里面有两个记事本,为何会样呢?你们应该怎么删掉其中的一个,下面就给大家详解一下win7装机版系统打开方式中有两个记事本如何办的全部处理办法。
第一步:在win7桌面上,空白处,右键,新建-文本文档;
第二步:双击打开【新建文本文档】;
第三步:把下面代码复制,粘贴进去:
@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 ,重启电脑直接处理问题!
经过上面的办法就可以处理win7装机版系统打开方式中有两个记事本的这个问题了,然后再打开右键菜单就会发现只剩一个记事本选项了。
本站发布的ghost系统与电脑软件仅为个人学习测试使用,不得用于任何商业用途,否则后果自负!