Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.


Running command line tools and redirecting the output to a file on a non-English system may produce unreadable characters when the file is openned by notepad.exe. 

For example run the following on Russian Windows 7 in command window.

ipconfig /all 

ipconfig /all >output.txt

notepad.exe output.txt


Utilities run from the command prompt use OEM codepages. Notepad.exe uses Windows code pages. See for a description of codepages.


There are several options for viewing the text output.

1. Open output.txt with Microsoft Word or any editor that supports OEM and Windows endcoding.


2. Run ipconfig in powershell instead of the Windows Command Prompt.


3. Cut and paste the output from ipconfig to notepad instead of redirecting to a file.

More Information

This behavior occurs on all versions of Windows and is by design. Incorrect characters will occur on most codepages due to differences in Windows and OEM codepages. This behavior will be most noticable on non-Latin languages such as Russian and Greek.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!