windows10 鼠标右键开启 powershell

新建文件 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'"

鼠标点击运行


版权声明:本文为power_to_go原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。