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