XKeyb Ü
ßßßßßß
Configure the keyboard for a specific language. Use XKeyb to configure
a keyboard for a language other than United States English.
Syntax: XKEYB [xx[,nnn[,[d:][path]file]]] [/E] [/ID:nnn]
In your CONFIG.SYS file, use the following syntax:
INSTALL=[[dos-drive:]dos-path]xkeyb.exe [xx[,[yyy][,[drive:]
[path]filename]]] [/E] [/ID:nnn]
xx Keyboard code
nnn Code page
d:path\file The full path to a keyboard definition file.
Default=KEYBOARD.SYS
/E Use an enhanced keyboard
/ID:nnn Specify the keyboard for countries that have more than
one keyboard layout for the same language
Notes Values for xx, yyy, and nnn
The following table shows the valid values for xx, yyy, and nnn.
Keyboard Keyboard
Country or code Code page Identification
Language (xx value) (y,y value) (nnn value)
Belgium be 850,437
Brazil br 850,437
Canadian-French cf 850,863
Czechoslovakia (Czech) cz 852,850
Czechoslovakia (Slovak) sl 852,850
Denmark dk 850,865
Finland su 850,437
France fr 850,437 120,189
Germany gr 850,437
Hungary hu 852,850
Italy it 850,437 141,142
Latin America la 850,437
Netherlands nl 850,437
Norway no 850,865
Poland pl 852,850
Portugal po 850,860
Spain sp 850,437
Sweden sv 850,437
Switzerland (French) sf 850,437
Switzerland (German) sg 850,437
United Kingdom uk 850,437 166,168
United States us 850,437
Yugoslavia yu 852,850
Installing code pages
The code page you specify for yyy must be installed on your system.
Displaying the current keyboard code and code page
If you use the xkeyb command with no parameters or switches, FreeDOS
lists the current keyboard code, the current keyboard's related code
page, and the current code page used by your console (CON). The
information is displayed in the following format:
Current keyboard code: US code page: 437
Current CON code page: 437
Example:
To use a German keyboard when your KEYBOARD.SYS file is in the DOS
directory on drive C, type the following command:
xkeyb gr,,c:\dos\keyboard.sys
See Also:
Chcp