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++路径替换为自己本地的安装路径