win
通過新建一個“獲取管理員權限
Xml代碼
Windows Registry Editor Version
[HKEY_CLASSES_ROOT*shellrunas]
@="獲取管理員權限"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT*shellrunascommand]
@="cmd
"IsolatedCommand"="cmd
[HKEY_CLASSES_ROOTexefileshellrunas
@="獲取管理員權限"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOTexefileshellrunas
@="cmd
"IsolatedCommand"="cmd
[HKEY_CLASSES_ROOTDirectoryshellrunas]
@="獲取管理員權限"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOTDirectoryshellrunascommand]
@="cmd
"IsolatedCommand"="cmd
From:http://tw.wingwit.com/Article/Common/201311/8082.html