1.注册表新增项
地址:\HKEY_CLASSES_ROOT\Directory\Background\shell
名称:PowerShell_Here
新增字符串值:Icon、PowerShell.exe
2.注册表新增项
名称:command
默认数据:"C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe"
1.注册表新增项
地址:\HKEY_CLASSES_ROOT\Directory\Background\shell
名称:PowerShell_Here
新增字符串值:Icon、PowerShell.exe
2.注册表新增项
名称:command
默认数据:"C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe"