1. 程式人生 > >右鍵添加cmd notePad++快捷鍵

右鍵添加cmd notePad++快捷鍵

version \n multi note .dll .exe file 執行 復制

1.將以下文字復制到txt文本,將txt修改為reg執行後,郵件菜單查。

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\runas]

@="命令提示符(管理員)"

"icon"="C:\\Windows\\System32\\shell32.dll,24"

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

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

2.普通用戶

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\runasnormal]
@="命令提示符"
"icon"="C:\\Windows\\System32\\shell32.dll,24"

[HKEY_CLASSES_ROOT\Directory\Background\shell\runasnormal\command]
@="cmd.exe"

3.notePad++

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\Edit With Notepad++]
"Icon"="D:\\Program Files (x86)\\Notepad++\\notepad++.exe"


"MultiSelectModel"="Single"

[HKEY_CLASSES_ROOT\*\shell\Edit With Notepad++\Command]
@="\"D:\\Program Files (x86)\\Notepad++\\notepad++.exe\" \"%1\""

註意將notePad++路徑替換為自己本地的安裝路徑

右鍵添加cmd notePad++快捷鍵