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]

 

转载于:https://www.cnblogs.com/aprilapril/p/5202365.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值