Change CodePage in CMD permanently?

后端 未结 6 1047
我在风中等你
我在风中等你 2020-12-05 12:07

My Windows cmd CodePage is now under 65001. Since I was doing some Android stuff and need to use console log, but forget how changing it now.

When using chcp 437 to

6条回答
  •  孤城傲影
    2020-12-05 12:20

    Create a start up batch file that includes all the commands you want.

    Then edit the registry to point to your start up file.

    http://technet.microsoft.com/en-us/library/cc779439%28WS.10%29.aspx

    c:\startup.cmd

    @echo off
    chcp 437
    

    HKLM\SOFTWARE\Microsoft\Command Processor
    AUTORUN="C:\startup.cmd"

提交回复
热议问题