10月62022
在Windows10中用Notepad ++替换记事本
文本编辑器Notepad ++ 7.5.9的发布为Windows引入了一项新功能,将默认的Windows文本编辑器Notepad替换为默认的系统编辑器。
这是如何工作的:
1.激活操作系统的“开始”菜单。
2.键入cmd.exe和
--右键单击cmd.exe,然后选择“以管理员身份运行”。
--按住Ctrl键和Shift键并选择cmd.exe结果。
3.确认UAC提示。
4.打开的命令提示符窗口以“管理员”一词开头,表示它是一个提升的命令提示符。
5.运行32位版本的Notepad ++的用户需要运行以下命令:
- reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /v "Debugger" /t REG_SZ /d "\"%ProgramFiles(x86)%\Notepad++\notepad++.exe\" -notepadStyleCmdline -z" /f
6.运行64位版本的Notepad ++的用户需要运行以下命令:
- reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /v "Debugger" /t REG_SZ /d "\"%ProgramFiles%\Notepad++\notepad++.exe\" -notepadStyleCmdline -z" /f
7.运行命令时,应该“将操作成功完成为返回消息”。
该命令更改Windows注册表中用Notepad ++替换默认文本编辑器记事本的信息。
通过从提升的命令提示符窗口运行以下命令,可以随时撤消替换(使用上面的说明打开一个):
- reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /v "Debugger" /f
发表评论
木有头像就木JJ啦!还木有头像吗?点这里申请属于你的个性Gravatar头像吧!