系统相关
首页 > 系统相关> > Powershell在相应的文件夹下用管理员模式打开

Powershell在相应的文件夹下用管理员模式打开

作者:互联网

目录:powershell.reg

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\PowerShellAsAdmin]
@="Open PowerShell window here as administrator"
"Extended"=""
"HasLUAShield"=""
"Icon"="powershell.exe"

[HKEY_CLASSES_ROOT\Directory\Background\shell\PowerShellAsAdmin\command]
@="C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe -windowstyle hidden -Command "Start-Process powershell -ArgumentList '-NoExit', '-Command cd %V' -Verb runAs""


标签:shell,Windows,下用,CLASSES,powershell,文件夹,Background,ROOT,Powershell
来源: https://www.cnblogs.com/strugger-0316/p/15232250.html