I would like to set permantly in DOS the codepage.

chcp 1252

How can I store the result of that command?

link|improve this question
feedback

1 Answer

Open the registry editor (regedit) and navigate to the following key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage

Edit the OEMCP value on the right and change it from the default (437?) to 1252.

Now open a new command-prompt and type chcp to see the current codepage. (It may—probably?—will not take until you reboot.)

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.