Home   MS-DOS Home   A-Z   NS Utilities   Command Syntax

KEYB

Home >> MS-DOS Reference >> Command Categories >> Environment Commands >> KEYB

Environment Commands

Environment Commands


Summary
Description
Command Syntax
Comments
Supported DOS versions: All versions
How easy to use? Easy
How safe to use? Very safe
How common? Fairly common
Internal or external command? External

Description

Changes the keyboard layout from the US one to a foreign one.

Command Syntax

p class="syntax">KEYB [xx[,yyy][,filename]]] [/e] [/id:nnn]

DOS versions prior to 3.3 use only the following codes. There is no space between the KEYB command and the letter, such as KEYBSP.
 
Two letter keyboard code Country
uk UK
gr Germany
fr France
it Italy
sp Spain
In DOS 3.3+ you specify both keyboard code and codepage number. The code page numbers are different in DOS 3.3 and DOS 4+.
 
Keyboard code Code page number Keyboard ID Keyboard layout
DOS 3.3 DOS 4+
us 001 437 103 US (default)
cf 002 863 058 Canadian French
fr 033 437 189 or 120 France
gr 049 437 129 Germany
it 039 437 141 or 142 Italy
sp 034 437 172 Spain
uk 044 437 166 or 168 UK
po 351 860 163 Portugal
sg 041 437 000 Switzerland (German)
sf 041 437 150 Switzerland (France)
dk 045 865 159 Denmark
be 032 437 120 Belgium
nl 031 437 143 Netherlands
no 047 865 155 Norway
la 003 437 171 Latin America
sv 046 437 153 Sweden
su 046 437 153 Finland

Comments

Other keyboard layouts are available; see the DOS manual or helpfile for more information. In DOS versions prior to 3.3 you can only use KEYBxx once. In later versions you can use it as many times as you want. In all versions you can switch to the US layout by pressing CTRL+ALT+F1 at the DOS prompt and back to the foreign layout by pressing CTRL+ALT+F2.
Home Home
MS-DOS MS-DOS Home
A - Z Index A - Z Index

Top of page
Summary
Description
Command Syntax
Comments




Top of page    Home    MS-DOS Home    NS Utilities
Copyright © 2005 Marcus Houlden  |  Copyright and Data Protection

Printed from the NukeSoft MS-DOS Reference. Copyright © 1995 - 2006 Marcus Houlden