Solved

Keyboard Language in MS-DOS Editor

Posted on 2003-12-02
4
2,562 Views
Last Modified: 2012-06-22
Hi,

Is it possible to change the language of the keyboard in MS-DOS Editor?  Although my version of WinXP is in French, and my keyboard language is French, if I type in MS-DOS Editor it uses a UK keyboard layout.

Any suggestions would be great thanks!

Cheers, Laura
0
Comment
Question by:LauraMon
  • 2
4 Comments
 
LVL 62

Assisted Solution

by:☠ MASQ ☠
☠ MASQ ☠ earned 125 total points
ID: 9860664
Add the following to your c:\autoexec.bat file

keyb fr,,c\windows\COMMAND\keyboard.sys

For more info on the keyb command type keyb/? at the prompt


Works with most versions of DOS but if you have WinME check here:
http://support.microsoft.com/?kbid=261417
0
 
LVL 62

Expert Comment

by:☠ MASQ ☠
ID: 9860803
Would help if I read your Q thoroughly!!
With XP you will need to do this with a DOS boot disk
http://www.nersc.gov/wks_support/doc/msdosbootdisk.html
0
 
LVL 6

Assisted Solution

by:Danny Kon
Danny Kon earned 125 total points
ID: 9865711
Laura,

Use the statement from Masqueraid "keyb fr,,c\windows\COMMAND\keyboard.sys"
Edit in the Windows\system32\ dir autoexec.nt


0
 
LVL 10

Accepted Solution

by:
pbarrette earned 250 total points
ID: 9870080
Hi all,

Almost right..

You need to add the following line to your "C:\WINDOWS\System32\CONFIG.NT" file:
country=033,850,c:\winnt\system32\country.sys

The codepage can be chosen with this line as well. 850 is the default codepage for France and 033 is the correct country code for France. If you are using Canadian-French, then the line should be:
country=002,863,c:\winnt\system32\country.sys

You can change the codepage on the fly using:
CHCP [nnn]

Where [nnn] is the appropriate code for the codepage you want.

Further info on the COUNTRY line can be found here:
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/winxppro/proddocs/country.asp

Further info on the Code Page can be found here:
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/winxppro/proddocs/chcp.asp

Keep in mind that the MS-DOS Editor (EDIT.EXE) does not understand Unicode character encoding.

Hope this helps,
pb
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

TOMORROW TOMORROW.BAT is inspired by a question I get asked over and over again; that is, "How can I use batch file commands to obtain tomorrow's date?" The crux of this batch file revolves around the XCOPY command - a technique I discovered w…
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question