Solved

Keyboard Language in MS-DOS Editor

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Add content to output file 4 72
Batch file output 20 96
How to combine txt files and change .txt extension 7 72
Windows Batch File - Count Down 4 130
Using dates in 'DOS' batch files has always been tricky as it has no built in ways of extracting date information.  There are many tricks using string manipulation to pull out parts of the %date% variable or output of the date /t command but these r…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

732 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