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"

猜你喜欢

转载自www.cnblogs.com/edhg/p/10854314.html