notepad++ 右键

在网上搜索建立reg 后运行, 虽然右键菜单出现了建立的右键项目名,但与软件不关联

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\Shell\open in Notepad++ ]
[HKEY_CLASSES_ROOT\*\Shell\open in Notepad++ \Command]
@="C:\\MyProgram Files (x86)\\Notepad++\notepad++.exe \"%L\""

人家的可以我的不可以, 问题大概出在64位上,

后来又继续搜

找到了可以用的方法

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\OpenWithNotepad]
@="Edit with &Notepad++"
"icon"="C:\\MyProgram Files (x86)\\Notepad++\\Notepad++.exe"

[HKEY_CLASSES_ROOT\*\shell\OpenWithNotepad\Command]
@="\"C:\\MyProgram Files (x86)\\Notepad++\\Notepad++.exe\" \"%1\""

后者比前者多了icon的定义

其实也没多少问题,就几个点,你并没有那么特别,前面有无数人踩过, 伤脑筋太不值得了.

--------------------------------

之前在网上搜的命令界面加入右键菜单的办法,这边备份下,

  Created by: Shawn Brink http://www.sevenforums.com
Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\Directory\shell\runas]

[HKEY_CLASSES_ROOT\Directory\shell\runas]

@="Command Prompt"

"HasLUAShield"=""

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]

@="cmd.exe /s /k pushd \"%V\""

[-HKEY_CLASSES_ROOT\Directory\Background\shell\runas]

[HKEY_CLASSES_ROOT\Directory\Background\shell\runas]

@="Command Prompt"

"HasLUAShield"=""

[HKEY_CLASSES_ROOT\Directory\Background\shell\runas\command]

@="cmd.exe /s /k pushd \"%V\""

[-HKEY_CLASSES_ROOT\Drive\shell\runas]

[HKEY_CLASSES_ROOT\Drive\shell\runas]

@="Command Prompt"

"HasLUAShield"=""

[HKEY_CLASSES_ROOT\Drive\shell\runas\command]

@="cmd.exe /s /k pushd \"%V\""

取消的注册文件

Windows Registry Editor Version 5.00

; Created by: Shawn Brink

; http://www.sevenforums.com

; Tutorial: http://www.sevenforums.com/tutorials/47415-open-command-window-here-administrator.html

[-HKEY_CLASSES_ROOT\Directory\shell\runas]

[-HKEY_CLASSES_ROOT\Directory\Background\shell\runas]

[-HKEY_CLASSES_ROOT\Drive\shell\runas]
上一篇:论文速读(Yongchao Xu——【2018】TextField_Learning A Deep Direction Field for Irregular Scene Text)


下一篇:elasticsearch_.net_client_nest2.x_到_5.x常用方法属性差异