首页 > 其他 > 详细

notepad++ 右键

时间:2016-02-20 00:23:42      阅读:265      评论:0      收藏:0      [点我收藏+]

在网上搜索建立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]

 

notepad++ 右键

原文:http://www.cnblogs.com/aprilapril/p/5202365.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!