Microsoft Windows Vista Community Forums - Vistaheads
Recommended Download



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Driver Scanner

Keyboard Layout under Command Prompt

microsoft.public.windows.vista.general






Speedup My PC
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-16-2007
bkortleven
 

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!

Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-17-2007
Andrew McLaren
 

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


Reply With Quote
  #3 (permalink)  
Old 08-03-2007
Livinus
 

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
>
>

Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista Recovery Command Prompt BlogFeed Windows Vista Blogs Forum 0 06-21-2007 00:35
DVD Command Prompt john microsoft.public.windows.vista.installation setup 4 03-20-2007 18:36
Navigate via elevated command prompt skinnyboywolfie@gmail.com microsoft.public.windows.vista.general 3 03-13-2007 03:50
Command Prompt =?Utf-8?B?UmVkY293?= microsoft.public.windows.vista.general 4 03-03-2007 09:27
Command Prompt Here Brad Palmer microsoft.public.windows.vista.general 4 02-20-2007 04:17




All times are GMT +1. The time now is 22:13.




Driver Scanner - Free Scan Now

Vistaheads.com is part of the Heads Network. See also XPHeads.com , Win7Heads.com and Win8Heads.com.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 RC 2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120