![]() |
|
|
|
#1 |
|
Guest
Posts: n/a
|
Keyboard Layout under Command Prompt
The pc localisation for the machine is Belgian, language is dutch. Keyboard
layout is Belgian azerty. When we start an older dos application under the command prompt, we only get the us qwerty layout. We tried adding keyb be (like it used to be pre-vista), kb16 (read in topic item http://www.microsoft.com/communities...en-us&m=1&p=1), but to no solution. It doesn't recognise either 'keyb' nor 'kb16' as a valid command. Anyone knows how to solve this, or where the kb16 command can be found? Thanks! |
|
|
#2 |
|
Guest
Posts: n/a
|
Re: Keyboard Layout under Command Prompt
"bkortleven" <bkortleven@discussions.microsoft.com> wrote ...
> but to no solution. It doesn't recognise either 'keyb' nor 'kb16' as a > valid > command. Bonjour ... pardon, Goede Dag :-) On 32 bit Vista, KB16.COM should be in the %SystemRoot%\System32 directory, usually C:\Windows\System32. First, verify that the files exist on your machine (they are installed by default): C:\Windows\System32\KB16.COM C:\Windows\System32\Keyboard.sys C:\Windows\System32\Country.sys Next, test that KB16 runs okay, by entering the command: C:\Windows\System32\KB16 BE,850,C:\Windows\System32\KEYBOARD.SYS It should return to a command prompt, with no messages (error, or otherwise). To activate KB16 for a DOS application, you need to run it in the same instance of the NTVDM ("NT Virtual DOS Machine") as your application. On Windows NT (including 2000, XP and Vista) a DOS application takes its startup environment from the files C:\Windows\System32\Config.NT and C:\Windows\System32\Autoexec.NT. So, to activate a code page for a DIOS app, add the code page commands to C:\Windows\System32\CONFIG.NT and C:\Windows\System32\AUTOEXEC.NT, the same as you would to C:\CONFIG.SYS and C:\AUTOEXEC.BAT on a DOS machine. In CONFIG.NT add to the end of the file: COUNTRY=032,850,C:\Windows\System32\COUNTRY.SYS In AUTOEXEC.NT add to the end of the file: C:\Windows\System32\KB16 BE,850,C:\Windows\System32\KEYBOARD.SYS Now to test, open a Command Prompt. Then run the command "command.com". This will start an instance of the MS-DOS Command processor. Run the command "edit", to start the DOS editor. Try typing in a few words in Edit, to see if the new Belgian keyboard is in effect. If it doesn't work in Edit, then review the above steps carefully. If it works in Edit, but doesn't work in your old DOS application, then the app is not getting its Code Page info from DOS. It may be storing it in a config file, or the like. If it works in your application - hey, problem solved! :-) Hope it helps; let us know how you get on. Met vriendelijke groet! -- Andrew McLaren amclar (at) optusnet dot com dot au |
|
|
#3 |
|
Guest
Posts: n/a
|
Re: Keyboard Layout under Command Prompt
Bedankt, Dit werkt perfect.
Thanks, it is a great relief. Those old fashioned DOS programs are still very helpfull. Wouldn't like to miss them. -- Livinus, Elgetex "Andrew McLaren" wrote: > "bkortleven" <bkortleven@discussions.microsoft.com> wrote ... > > but to no solution. It doesn't recognise either 'keyb' nor 'kb16' as a > > valid > > command. > > Bonjour ... pardon, Goede Dag :-) > > On 32 bit Vista, KB16.COM should be in the %SystemRoot%\System32 directory, > usually C:\Windows\System32. First, verify that the files exist on your > machine (they are installed by default): > > C:\Windows\System32\KB16.COM > C:\Windows\System32\Keyboard.sys > C:\Windows\System32\Country.sys > > Next, test that KB16 runs okay, by entering the command: > > C:\Windows\System32\KB16 BE,850,C:\Windows\System32\KEYBOARD.SYS > > It should return to a command prompt, with no messages (error, or > otherwise). > > To activate KB16 for a DOS application, you need to run it in the same > instance of the NTVDM ("NT Virtual DOS Machine") as your application. On > Windows NT (including 2000, XP and Vista) a DOS application takes its > startup environment from the files C:\Windows\System32\Config.NT and > C:\Windows\System32\Autoexec.NT. So, to activate a code page for a DIOS app, > add the code page commands to C:\Windows\System32\CONFIG.NT and > C:\Windows\System32\AUTOEXEC.NT, the same as you would to C:\CONFIG.SYS and > C:\AUTOEXEC.BAT on a DOS machine. > > In CONFIG.NT add to the end of the file: > > COUNTRY=032,850,C:\Windows\System32\COUNTRY.SYS > > In AUTOEXEC.NT add to the end of the file: > > C:\Windows\System32\KB16 BE,850,C:\Windows\System32\KEYBOARD.SYS > > Now to test, open a Command Prompt. > Then run the command "command.com". This will start an instance of the > MS-DOS Command processor. > Run the command "edit", to start the DOS editor. > Try typing in a few words in Edit, to see if the new Belgian keyboard is in > effect. > > If it doesn't work in Edit, then review the above steps carefully. > > If it works in Edit, but doesn't work in your old DOS application, then the > app is not getting its Code Page info from DOS. It may be storing it in a > config file, or the like. > > If it works in your application - hey, problem solved! :-) > > Hope it helps; let us know how you get on. > > Met vriendelijke groet! > -- > Andrew McLaren > amclar (at) optusnet dot com dot au > > |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do i change my keyboard layout when typing @ | Will | Microsoft Office | 7 | 14-01-2008 10:14 AM |
| RE: How to change Keyboard layout[i mean english,italian keyboard] | Benedyglen | Windows XP | 0 | 22-08-2007 05:10 AM |
| Keyboard layout under DOS in Vista | bostjan@tsc-laba.si | Windows Vista All | 2 | 19-08-2007 04:11 PM |
| Keyboard Layout key sequences don't work. | JasmineZmom74 | Windows XP | 2 | 16-08-2007 03:28 PM |
| Command Prompt to C:\ | BGHopyd | Windows XP | 8 | 16-08-2007 07:16 AM |
< Home - Windows Help - MS Office Help - Hardware Support >
| New To Site? | Need Help? |