notepad++右键菜单

2021-10-17 10:58:29 Other 小于 1 分钟

# exe安装方式

  1. 下载 传送门 (opens new window)
  2. 一路点击下一步即完成安装。
  3. 电脑桌面新建记事本,输入以下内容并保存。
      Windows Registry Editor Version 5.00
      
      [HKEY_CLASSES_ROOT\Directory\Shell\Open with Notepad++]
      
      [HKEY_CLASSES_ROOT\Directory\Shell\Open with Notepad++\command]
      
      @="\"D:\\Notepad++\\notepad++.exe\" \"%1\""
    
    1
    2
    3
    4
    5
    6
    7
  4. 修改文件扩展名x.txt 改为 x.reg
  5. 双击reg文件。
  6. 注册成功后鼠标右键就有了。

# 绿色版安装方式

  1. 电脑桌面新建记事本,输入以下内容并保存。
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\*\Shell\Open with Notepad++]
    @="Notepad++"
    "Icon"="D:\\Notepad++\\notepad++.exe,0"
    
    [HKEY_CLASSES_ROOT\*\Shell\Open with Notepad++\command]
    @="D:\\Notepad++\\notepad++.exe %1"
    
    1
    2
    3
    4
    5
    6
    7
    8
  2. 修改文件扩展名x.txt 改为 x.reg
  3. 双击reg文件。
  4. 注册成功后鼠标右键就有了。

相关信息

最后一行为你自己的安装路径,需要自行替换!!比如我的安装路径是:D:\\Notepad++\\notepad++.exe

上次编辑于: 2023年7月4日 09:36