WIN
在WIN
創建批處理register文件
[java]
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/7922.html