Solved

Keyboard Language in MS-DOS Editor

Posted on 2003-12-02
4
2,605 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

749 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