打开注册表编辑器,定位至:

\HKEY_CLASSES_ROOT\Directory\Background\shell\Powershell\command

 cmd:  cmd.exe /s /k pushd "%V"

powershell:  powershell.exe -noexit -command Set-Location -literalPath '%V'

讲 cmd 的 命令 和 powershell 的 命令  互换一下。。。。

相关文章: