windows 增加右键功能 -->用命令行打开
实现
注册表 以管理员权限CMD 到指定文件夹
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOTFoldershellcmdHere] @="CMD ADM Here" "icon"="c:\windows\system32\cmd.exe,0" [HKEY_CLASSES_ROOTFoldershellcmdHerecommand] @="WScript.exe "C:\Users\OthinkY\AppData\Local\QA\Helper.vbs" -e c:\python27\cccmd.bat "%1" %*"
其中权限提升软件
quickadmin
http://raymai97.github.io/QuickAdmin/
c:\python27\cccmd.bat 的内容
cd "%1" echo off cls cmd.exe
最终效果