admin管理员组

文章数量:1653212

新建文件 power-shell.bat

输入下列代码

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\psadmin]
"ShowBasedOnVelocityId"=dword:00639bc8
@="open power shell"
"Icon"="powershell.exe"

[HKEY_CLASSES_ROOT\Directory\Background\shell\psadmin\command]
@="powershell.exe -noexit -command Set-Location -literalPath '%V'"

鼠标点击运行

本文标签: 鼠标右键powershell