Command: chcp
CHCP displays or sets the active code page number.
Syntax:
CHCP [nnn] [/?]
Options:
nnn Specifies a code page number.
437 US
850 Multi (Latin I)
852 Slavic (Latin II)
860 Portuguese
863 Canadian-French
865 Nordic
/? Shows the help.
Comments:
Type CHCP without a parameter to display the active code page number.
Any program that started before the new code page was assigned may
continue to use the original code page. (This excludes COMMAND.COM,
which will be aware of code page changes.)
To use chcp:
1. specify the location of COUNTRY.SYS with the COUNTRY command.
2. load the NLSFUNC program (using INSTALL).
3. use CHCP at any time to change the code page.
CHCP is a command internal to command.com and needs no other file
in order to work.
Examples:
CHCP Displays the active code page number
CHCP /? Shows the help
CHCP 850 Sets code page number 850
See also:
country
device
display
graftabl
install
keyman
mode
nlsfunc
printer.sys
File:
Please read this command's lsm file also.
You will find the updated version (internet) here and
the version described in this manual page here.
The lsm file contains information about the name of the programmer,
the download site, and some other command related information.
Copyright © 1998 Jim Hall, updated 2007 by W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.