cmd.exe 里加启动命令

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

posted @ 2020-06-15 17:50  johnsonshu  阅读(429)  评论(0编辑  收藏  举报