Draft for Information Only
Content
MS DOS Command: CHCP
MS DOS Command: CHCPReference from Microsoft MS-DOS cmd help DescriptionDisplays the number of the active character set (code page). You can also use the CHCP command to change the active character set for all devices that support character set switching. You must install the NLSFUNC program before you can use the CHCP command. For an introduction to using character sets and the CHCP command, see the chapter "Customizing For International Use" in the MS-DOS User's Guide. Tables of the character sets included with MS-DOS are shown in the appendix "Keyboard Layouts and Character Sets" in the MS-DOS User's Guide. For information about additional code pages included with MS-DOS 6.22, see the COUNTRY.TXT file (located in the directory that contains your MS-DOS files). SyntaxCHCP [nnn] To display the number of the active character set, use the following syntax: CHCP Parameters
Additional countries and languages are supported by the EGA2.CPI and EGA3.CPI files. For more information, see the COUNTRY.TXT file, which is located in the directory that contains your MS-DOS files. Related CommandsFor more information about character sets, see the COUNTRY, NLSFUNC, and MODE (set device code pages)> command. RemarksRequirements for using the CHCP commandBefore you can use the CHCP command, you must specify the location of the COUNTRY.SYS file by using the COUNTRY command and load the NLSFUNC program into memory. Assigning a new character setAfter you assign a new character set, any program you start uses that new character set. However, any program (not including COMMAND.COM) that you started before assigning the new character set will probably attempt to use the original character set. ExamplesTo 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 ©sideway ID: 110700137 Last Updated: 7/21/2011 Revision: 0 Latest Updated Links
![]() ![]() ![]() ![]() ![]() |
![]() Home 5 Business Management HBR 3 Information Recreation Hobbies 8 Culture Chinese 1097 English 339 Travel 18 Reference 79 Computer Hardware 254 Software Application 213 Digitization 37 Latex 52 Manim 205 KB 1 Numeric 19 Programming Web 289 Unicode 504 HTML 66 CSS 65 SVG 46 ASP.NET 270 OS 431 DeskTop 7 Python 72 Knowledge Mathematics Formulas 8 Set 1 Logic 1 Algebra 84 Number Theory 206 Trigonometry 31 Geometry 34 Calculus 67 Engineering Tables 8 Mechanical Rigid Bodies Statics 92 Dynamics 37 Fluid 5 Control Acoustics 19 Natural Sciences Matter 1 Electric 27 Biology 1 |
Copyright © 2000-2025 Sideway . All rights reserved Disclaimers last modified on 06 September 2019