Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: NTVDM issue, changing code page

13 Aug 2019   #1
Alan1313

Windows 7 Ultimate 32bit, Windows 95, Windows 3.1, MS-DOS 6.20
 
 
NTVDM issue, changing code page

Until Windows XP, NTVDM supported many code pages, but in Windows 7, NTVDM supports only 437(English) code page. However I need the 949 code page, and I can get that thing only if I run the program, and get the dos shell, type CHCP 949, and returning to the program. Just typing CHCP 949 on COMMAND.COM does not work. Any Solution?


My System SpecsSystem Spec
.
14 Aug 2019   #2
iko22

Windows 7 x64, Vista x64, 8.1 smartphone
 
 

Hello Alan1313

I understand that you are having problem with code page 494, when using NTVDM? Particularly, when you run a program under NTVDM.

Can you tell me, what is the "bitness" of the program you wish to run? 16-bit or 32-bit?

If you are experiencing problem running 16-bit program under NTVDM with code page other than English, then you might find this question and solution helpful: Windows 7 and 16-bit programs' problems | Microsoft Answers.

Quote:
Dear Itknowledge24 ,

I run Windows 7 32 bit English, but use a Turkish Key board.

Windows 7 has no problem of swiching between the keyboard layouts.

NTVDM, do not inherit the keyboard code from windows 7, that had been set.

It does get its keyboard setting, as old DOS does, thru Config.sys ("nt" in xp and 7), and Autoexec.bat ("nt")

When you showed the directories of NTVDM, it was very clear to me that we have to add only the necessary lines to config and autoexec.

That was it.

For anyone who may need,

here is the config.nt, and autoexec.nt modifications (for turkish keyboard:

config.nt;

dos=high, umb
device=%SystemRoot%\system32\himem.sys
COUNTRY=090,857, %SystemRoot%\system32\COUNTRY.SYS

files=99

autoexec.nt;

%SystemRoot%\system32\KB16 TR,857, %SystemRoot%\system32\KEYBOARD.SYS

For Danish;

DK,850

For Belgium;

BE,850

Thank you for you and others who have been contributed to the solution.

Best Regards.
Read the question and the 18 replies.
My System SpecsSystem Spec
14 Aug 2019   #3
Alan1313

Windows 7 Ultimate 32bit, Windows 95, Windows 3.1, MS-DOS 6.20
 
 

I saw that Microsoft Question before, and I mean, when I run a 16-bit console app, I need the 949 code page, but NTVDM always change the code page to 437. When this happens, the texts are all broken. I tried to type CHCP 949 and run the application or change the code page by registry, but it didn't work.

And the question doesn't have about 949(Korean) one.

I also tried to replace XP's NTVDM and Seven's NTVDM, and the 16-bit app didn't even work.
My System SpecsSystem Spec
.

4 Weeks Ago   #4
iko22

Windows 7 x64, Vista x64, 8.1 smartphone
 
 

Hello,

Had you tried the config.nt and autoexec.nt modifications to the necessary lines?

You can, where the provided solution uses code 857, use code 949. For example:

config.nt;

dos=high, umb
device=%SystemRoot%\system32\himem.sys
COUNTRY=437,949, %SystemRoot%\system32\COUNTRY.SYS
files=99


autoexec.nt;
%SystemRoot%\system32\KB16 ??,949, %SystemRoot%\system32\KEYBOARD.SYS

Where I have put '??', this is the keyboard layout. You leave the keyboard layout the same as it is now.

Back-up autoexec.nt and config.nt by renaming them as autoexec.bak and config.bak, before you make any changes. Then you have spare copies of these files in case you do not like the changes youve made.
My System SpecsSystem Spec
4 Weeks Ago   #5
Alan1313

Windows 7 Ultimate 32bit, Windows 95, Windows 3.1, MS-DOS 6.20
 
 

Well, the text like 'C:\>' or 'Microsoft Windows [Version 6.1.7601...' doesn't appear, and no 949 codepage.
My System SpecsSystem Spec
Reply

 NTVDM issue, changing code page




Thread Tools




Similar help and support threads
Thread Forum
Changing memory page default
When trying to load a new program that needs 16MB of RAM I get a message saying I don't have enough RAM. I currently have 132984MB of unused RAM. If I change my memory paging default numbers to 199476 and 265968 would that work OK? It is currently at 5686-5686 set by a McAfee tech for a different...
General Discussion
NTVDM CPU Problem
Hi, guys... Can you please help me how to get rid of this annoying pop-up error message? Every time I boot-up my computer, this error message (including MS-DOS window) keeps popping up on start-up... Here's the proof: http://i.imgur.com/00giLP2.jpg It's pretty annoying, I couldn't fix...
Software
interactive services detection for ntvdm.exe
hi this morning I updated my drivers. now I get this message: interactive services detection for ntvdm.exe I searched through Microsoft answers and it recommended that I can stop it from services window,so I did that and now the message doesn't pop up(should I stop it?is gonna make problems...
Drivers
Changing the print test page image
So I just got this random idea and checked google but found nothing. Can the image that prints on the printer test page be changed, and if so, how? I'm on windows 7 64 bit Ok, people don't seem to get my point. You know the page that comes out with the windows logo image and a list of the...
Customization
NTVDM.EXE has stopped working
Apologies if this is in the wrong section, i was unsure where to put it. I have a Gigabyte MA77OT-UD3P motherboard, i am trying to update my bios. Whenever i try to run bios update i get the following error ''NTVDM.EXE has stopped working'' I believe this has something to do with dos but...
Drivers


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 22:11.
Twitter Facebook