Microsoft DOS keyb command

Updated: 09/15/2017 by Computer Hope

About keyb

Keyb is used to change the layout of the keyboard used for different countries.

Availability

The keyb is an external command that is available in the below Microsoft operating systems as keyb.com.

All Versions of MS-DOS
Windows 95
Windows 98
Windows NT

Keyb syntax

Configures a keyboard for a specific language.

KEYB [xx[,[yyy][,[drive:][path]filename]]] [/E] [/ID:nnn]

xx Specifies a two-letter keyboard code.
yyy Specifies the code page for the character set.
[drive:][path]filename Specifies the keyboard definition file.
/E Specifies that an enhanced keyboard is installed.
/ID:nnn Specifies the keyboard in use.

Parameters

KEYB CODE KEYB ID
BE 120
CF 058
DF 159
FR/120 189/120
GR 129
IT/142 141/142
LA 171
NL 143
NO 155
PO 163
SF 150
SG 000
SP 172
SU 153
SV 153
UK/168 166/168
US 103

Keyb examples

Loading the Keyboard as United States format in MS-DOS and Windows 3.x:
keyb us, ,c:\dos\keyboard.sys

Loading the Keyboard as United States format in Windows 95 and Windows 98:
keyb us, ,c:\windows\command\keyboard.sys

Additional information

  • See our keyboard definition for further information and related links on this term.