教你将深度技术Win7右键菜单多余的记事本选项删除掉
更新日期:2015-08-24 10:25:52
来源:互联网
右键菜单给用户操作电脑带来了方便,但有用户发现选择程序打开方式的时候,发现有2个记事本的选项,两个效果都一样,但之前都只有一个记事本选项,怎样将多余的删除掉?下面小编教你将深度技术Win7右键菜单多余的记事本选项删除掉。
一、原因分析:
由于Win7系统windows文件夹(C:Windows)和system32文件夹(C:WindowsSystem32)下面各有一个notepad.exe程序,当在注册应用程序和文件关联打开方式的时候,分别使用了它们,但打开方式又要读取这两个地方,故出现两个记事本。
二、解决措施:
1、新建一个记事本,将里面的代码复制粘贴到文本文件。
@echo off
if exist “%systemroot% otepad.exe” set Npath=“%systemroot% otepad.exe %”1
if not exist “%systemroot% otepad.exe” set Npath=“%systemroot%system32 otepad.exe %”1
reg add “HKCR xtfileshellopencommand” /ve /d %Npath% /t REG_SZ /f
reg add “HKCRApplications otepad.exeshellopencommand” /ve /d %Npath% /t REG_SZ /f
reg add “HKCRSystemFileAssociations extshellopencommand” /ve /d %Npath% /t REG_SZ /f
2、另存为后缀.bat的文件,双击执行就可以了。
上面就是教你将深度技术Win7右键菜单多余的记事本选项删除掉的介绍了,其实两个记事本选项并不影响用户的使用,也可不删除。
一、原因分析:
由于Win7系统windows文件夹(C:Windows)和system32文件夹(C:WindowsSystem32)下面各有一个notepad.exe程序,当在注册应用程序和文件关联打开方式的时候,分别使用了它们,但打开方式又要读取这两个地方,故出现两个记事本。
二、解决措施:
1、新建一个记事本,将里面的代码复制粘贴到文本文件。
@echo off
if exist “%systemroot% otepad.exe” set Npath=“%systemroot% otepad.exe %”1
if not exist “%systemroot% otepad.exe” set Npath=“%systemroot%system32 otepad.exe %”1
reg add “HKCR xtfileshellopencommand” /ve /d %Npath% /t REG_SZ /f
reg add “HKCRApplications otepad.exeshellopencommand” /ve /d %Npath% /t REG_SZ /f
reg add “HKCRSystemFileAssociations extshellopencommand” /ve /d %Npath% /t REG_SZ /f
2、另存为后缀.bat的文件,双击执行就可以了。
上面就是教你将深度技术Win7右键菜单多余的记事本选项删除掉的介绍了,其实两个记事本选项并不影响用户的使用,也可不删除。
猜你喜欢
-
SuperFetch对win7老电脑有什么影响 14-10-16
-
覆盖安装Win7纯净版系统遗留的问题有何方法解决 14-10-28
-
两大妙招解决Win7 32位系统中找不到DVD驱动 14-10-29
-
win7 32位纯净版中临时文件怎么清理 14-12-09
-
win7纯净版64位系统怎样才能查看运行进程里面的PID标示符 15-01-26
-
win7笔记本纯净版系统巧用命令提示符清理垃圾文件 15-03-13
-
win7纯净版64位系统瘦身教程 教你如何给自己的系统瘦身 15-03-19
-
怎么清除win7纯净版系统图标右下角的小盾牌图标 15-04-13
-
教你如何解决雨林木风win7 32位旗舰版安装时出现乱码的情况 15-06-27
-
系统之家win7系统怎么才能使用Word自制编号菜单栏 15-06-11
深度技术安装教程
Win7 系统专题
