[转]windows10 1703 鼠标右键打开命令提示符cmd

https://answers.microsoft.com/zh-hans/windows/forum/windows_10-performance/windows10-1703/8bdfdfea-438c-4673-b4a4-a2b99cafc8bd

更新到1703后在文件管理里shift+鼠标右键只有“在此处打开powershell窗口”,我想用会以前的cmd窗口,而不是powershell,powershell启动太慢,习惯cmd的我,简直不能忍受powershell,请问怎么才能把shift+鼠标右键 换回 在此处打开cmd窗口,而不是powershell窗口。

您好,

定位到以下注册表键值,操作之前可以导出备份。

HKCR\Directory\Background\shell\Powershell\command

将右侧默认字符串值改为“cmd.exe /s /k pushd "%V"”,确定保存。

补充说明,在资源管理器空白处按住Shift按键右击鼠标,出现的选项仍然是“在此处打开Powershell窗口”,但点击之后实际开启的功能可以变成“在此处打开命令提示符”的功能 ,就是说显示的界面无法更改。

备份原始字符串值:powershell.exe -noexit -command Set-Location -literalPath '%V'

猜你喜欢

转载自www.cnblogs.com/huipengly/p/9056787.html