window10右键直接开启cmd
参考地址,侵权删:
https://jingyan.baidu.com/article/948f592474bfc7980ef5f939.html
建立注册表cmd.reg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\background\shell\cmd_here]
@=“cmd”
[HKEY_CLASSES_ROOT\Directory\background\shell\cmd_here\command]
@=“cmd.exe /s /k pushd “%V””
管理员方式cmd-admin.reg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\runas]
“ShowBasedOnVelocityId”=dword:00639bc8
[HKEY_CLASSES_ROOT\Directory\Background\shell\runas\command]
@=“cmd.exe /s /k pushd “%V””