Solved

Keyboard Language in MS-DOS Editor

Posted on 2003-12-02
4
2,550 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now