CHCP

Index

The CHCP command is used to display and change the active Code Page (character set).

Syntax:

To display the active Code Page:
CHCP

To change the active Code Page:
CHCP nnn
nnnThe Code Page number. See "Mode - Set Device Code Page" for a list.

Notes:

Before the CHCP command can be used, the NLSFUNC program must be loaded and the location of the COUNTRY.SYS file must be specified using the COUNTRY command.

For an introduction to using character sets and the CHCP command, see the chapter "Customizing For International Use" in the MS-Dos 6 User's Guide. Tables of the character sets included with MS-Dos are shown in the appendix "Keyboard Layouts and Character Sets".

Programs loaded after a new character set is assigned will use that character set; however, programs already loaded (except COMMAND.COM) will probably attempt to use the original character set.

Examples:

To view the active Code Page setting:
CHCP
which will display something like:

C:\WINDOWS>CHCP
Active code page: 850
 
C:\WINDOWS>_

File Details:

Internal


This page last revised:
December 9, 1999.