Keyboard command does not work in command prompt

Retired KB Content Disclaimer

This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

If this article does not describe your hardware-related issue, please see the following Microsoft Web site to view more articles about hardware:

Symptoms

In Microsoft Windows Millennium Edition, the MS-DOS command keyb xx does not work, where xx is one of the following code page settings:

  • keyb be (Belgium)
  • keyb br (Brazil)
  • keyb cf (Canada) (French/Canadian)
  • keyb cz (Czech Republic)
  • keyb dk (Denmark)
  • keyb fr (France)
  • keyb gr (Germany)
  • keyb hu (Hungary)
  • keyb it (Italy)
  • keyb la (Latin America)
  • keyb nl (Netherlands)
  • keyb no (Norway)
  • keyb po (Poland)
  • keyb po (Portugal)
  • keyb sf (Switzerland) (French)
  • keyb sg (Switzerland) (German)
  • keyb sl (Slovakia)
  • keyb sp (Spain)
  • keyb su (Finland)
  • keyb sv (Sweden)
  • keyb uk (United Kingdom)
  • keyb us (United States)

Cause

The Microsoft Windows Millennium Edition command prompt does not support the keyb command.

Resolution

To set the code page at a command prompt, change the settings on the International tab in the System Configuration utility.


To start the System Configuration utility, follow these steps:

  1. Click Start, point to Programs, point to Accessories, and then point to System Tools.
  2. Click System Information.
  3. On the Tools menu, click System Configuration Utility.
To use an alternate method to start the System Configuration utility, follow these steps:

  1. Click Start, and then click Run.
  2. In the Open box, type Msconfig.
  3. Click OK.
  4. In the Msconfig tool, on the International tab, set the Keyboard Layout to the correct language (for an example see the keyb parameters above).
  5. In the Keyboard Data File Name "C:\WINDOWS\COMMAND\keyboard.sys", edit the line so that it is only "keyboard.sys".
  6. Close Msconfig and restart the computer.
Properties

Article ID: 261417 - Last Review: Jun 19, 2014 - Revision: 1

Feedback