@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
到这里本文关于win7系统开始菜单右键菜单有两个“记事本”选项的解决方法就结束了,如果你也有遇到这样的情况,就可以采取上面的方法步骤来进行解决,希望这个小小的经验能够帮助大家不再烦恼!
uc电脑园提供的技术方案或与您产品的实际情况有所差异,您需在完整阅读方案并知晓其提示风险的情况下谨慎操作,避免造成任何损失。
未知的网友