windows 右键 cmd ls 时无乱码

新建 .reg 文件 然后执行

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere]
@="Open Cmd here"
"Extended"=""


[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere\command]

@="cmd.exe -noexit -command Set-Location -literalPath '%V'"



[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor]
"AutoRun"="doskey ls=ls --show-control-chars --color&&set LANG=zh_CN.UTF-8"
posted @ 2019-05-12 23:29  twfb  阅读(391)  评论(0编辑  收藏  举报