Windows10右键打开"powershell"改成"cmd"
升级到Windows10后,发现原来shift+鼠标右键的“在此处打开cmd窗口”选项不见了,改成了“在此处打开powershell窗口”。虽然微软力推powershell,不过还是用不习惯。改回来~
RegEdit 定位 HKCR\Directory\Background\shell\Powershell\command
修改该项下的默认值
CMD
cmd.exe /s /k pushd "%V"
Powershell
powershell.exe -noexit -command Set-Location -literalPath "%V"