try it, then you know it____________just do it , as love easily fade.

一次只有一个目标,步子迈小些,抑制一次实现所有功能的冲动。 过程如何结果就如何,行动是欢喜的,不管是兴奋还是沮丧的情绪都对结果无益。贵在持之以恒

导航

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]

 

posted on 2016-02-19 22:14  吾一  阅读(225)  评论(0编辑  收藏  举报