CHCP — Display or modify the current code page

Synopsis

CHCP [/?] [codepage]

Options

/?
Display command syntax information.

Description

The CHCP command modifies the code current page maintained by the operating system for the command interpreter process. If it is supplied with a code page number for an argument, it attempts to change the current code page to the specified code page.

Note: You can only change code page to a code page supported by the operating system. On OS/2 Warp the supported code pages are determined by the CODEPAGE directive in CONFIG.SYS when the operating system is booted.

If no argument is supplied, CHCP will write to its standard output the number of the active code page and the numbers of the alternate code pages supported by the operating system.

The current code page in a child process started by the command interpreter is inherited from the command interpreter process with the value that it had at that particular time. Any use of the CHCP command in the command interpreter after a child process has been started will not affect that process.

VERIFY


The 32-bit Command Interpreter is © Copyright Jonathan de Boyne Pollard. "Moral" rights are asserted.