Windows中Shift+右键"在此处打开命令窗口"默认是采用cmd的方式打开.

把cmd替换为PowerShell的方式打开.
1. Ctrl + R 输入regedit进入注册表
2. 找到[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd\command]
3. 修改数据为powershell.exe -NoExit Set-Location "%V"
转载于:https://blog.51cto.com/kevinz0523/1410698