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

winr|输入regedit命令打开注册表。定位到该路径:计算机HKEY_CLAssEs_RooTdirectoryBackgroundshellpowershellcommand右键|

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'

注:这里为什么会是powershell呢,因为默认右键是有powershell的,这里把powershell的地址改为cmd了,也就是右键虽然显示打开的是powershell,实际打开的是cmd。

发布者:admin,转转请注明出处:http://www.yc00.com/web/1754630730a5184880.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信