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 @ 2017-12-06 21:06  whmmm  阅读(3965)  评论(0)    收藏  举报
//增加一段JS脚本,为目录生成使用