1> 復制下面代碼到記事本保存為launch.vbs
2> 然后打開Regedit.exe並創建以下注冊表分支
HKCU:\Software\Classes\CLSID\{52205fd8-5dfb-447d-801a-d0b52f2e83e1}\shell\opennewwindow\command
3> 或執行此段ps命令
New-Item -ItemType Directory -Path "HKCU:\Software\Classes\CLSID\{52205fd8-5dfb-447d-801a-d0b52f2e83e1}\shell\opennewwindow\command" -Force
4> .將(默認)值數據設置為以下值
並創建一個名為DelegateExecute的REG_SZ值,將其值數據設置為空
使用REG文件自動執行上述步驟
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Classes\CLSID\{52205fd8-5dfb-447d-801a-d0b52f2e83e1}\shell\opennewwindow\command] @="wscript.exe c:\\launch.vbs" "DelegateExecute"=""
現在你可以使用快捷鍵試試效果了
提示:如果要使用WinKey + E調用應用程序,甚至可以鍵入具有完整路徑的應用程序。