https://superuser.com/questions/269818/change-default-code-page-of-windows-console-to-utf-8

To change the codepage for the console only, do the following:

  1. Start -> Run -> regedit
  2. Go to [HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\Autorun]
  3. Change the value to @chcp 65001>nul

 

不想改windows 语言设置,所以总要在cmd.exe 启动后,加 chcp 437 ,很麻烦。

用下面的文章 -cmd /K chcp 437, 舒服多了。

How to run a command on command prompt startup in Windows

相关文章:

  • 2022-12-23
  • 2021-07-14
  • 2021-12-30
  • 2022-03-07
  • 2022-12-23
  • 2021-10-03
  • 2021-09-14
猜你喜欢
  • 2021-12-08
  • 2022-12-23
  • 2021-05-21
  • 2021-06-11
  • 2022-01-24
相关资源
相似解决方案