win10 cmd 替换 powershell

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

\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 的 命令  互换一下。。。。

posted on 2017-12-06 21:06  正义的伙伴!  阅读(3886)  评论(0编辑  收藏  举报

导航

//增加一段JS脚本,为目录生成使用