A
A
Andrey Kolechko2019-07-05 09:41:21
cmd/bat
Andrey Kolechko, 2019-07-05 09:41:21

How to change cmd.exe codepage?

I write to the console:
>chcp 1251
Encoding changes. I close cmd. After I reopen the console and check chcp, it gives me 866 as before.
Is there any way to set it as default?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladislav Lyskov, 2019-07-05
@AnkoII

https://stackoverflow.com/questions/7432545/change...

A
Artem Melnykov, 2019-07-14
@NickProgramm

Write bat-nick:

@echo off
chcp 1251
pause

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question