I have the English version of Windows 10.

I create a batch file in OEM 866 encoding and thrust in there a series of commands to create directories.

As a result, I create directories with iroglyphs where the Cyrillic was.

Tell me what could be the problem?

At work, there is a Russian version of Windows 7 and saving the batch file in the OEM866 encoding works.

    1 answer 1

    Correspondence in the comments found that the encoding (code page) in the script itself needs to be changed through the chcp command. Offered option with

     chcp 1251 

    but helped

     chcp 866