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"
标签:OpenCmdHere,shell,windows,HKEY,乱码,右键,Background,ROOT,ls 来源: https://www.cnblogs.com/edhg/p/10854314.html