win10恢复在此处打开命令行窗口

win+r | 输入regedit命令打开注册表。

定位到该路径:

计算机\HKEY_CLAssEs_RooT\directory\Background\shell\powershell\command

右键 | 修改,输入:

cmd.exe /s /k pushd "%V" 

cmd和powershell的设置值

### cmd用这个
cmd.exe /s /k pushd "%V" 
### powershell用这个
powershell.exe -noexit -command set-Location -literalpath '%V'
发布了536 篇原创文章 · 获赞 22 · 访问量 3万+

猜你喜欢

转载自blog.csdn.net/enthan809882/article/details/104624841