help.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CHCP--Examples
Syntax  Notes
────────────────────────────────────────────────────────────────────────────
 
                               CHCP──Examples
 
To view the active character set setting, type the following command:
 
    chcp
 
MS-DOS responds with a message similar to the following:
 
    Active code page: 437
 
To change the active character set to 850 (Multilingual), type the following
command:
 
    chcp 850
 
MS-DOS alerts you if the specified character set has not been prepared for
your system. The following error message appears:
 
    Invalid code page
 
If a device (monitor, keyboard, printer) is not prepared for a character
set, MS-DOS displays an error message in the following format:
 
    Code page 850 not prepared for device nnn
 
                                      ♦