Purpose:Display or change the current system code page


Format:CHCP [/I /P[n] /S] [n]


n        A system code page number.








Code page switching allows you to select different character sets for language support.


If you enter CHCP without a number, the current code page is displayed.



Active code page: 437


If you enter CHCP plus a code page number, the code page is changed. For example, to set the code page to multilingual:


chcp 850


When you use CHCP under Windows it only affects the current process, and any new programs started from within that process; the active code page in other processes remains unchanged.




/IShow all installed code pages.


/P[n]Pause after each page (only valid with /I or /S). Your options at the prompt are explained in detail under Page and File Prompts. The /P option has an optional argument n that specifies the number of seconds to wait for a keystroke before continuing.


/SShow all supported code pages.