Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

DOS Applications hang on shortcut start at NTVDM

Posted on 2006-11-15
15
Medium Priority
?
799 Views
Last Modified: 2012-05-05
I have several legacy applications that I am have used for years.  Some include Borland Turbo Pascal, and C++, Paradox, d/Base and such.  I just moved to a new laptop.  I went from a Dell Latitude series with a Pentium M processor and 1GB of RAM to an HP TC4400 with a Core Duo Processor and 3GB of RAM.  After the switch, my apps seemed to sorta stop working.

If I start a cmd shell, and start the application, it works.  However, if I try to start app (95% of the time) it hangs at NTVDM.

Can anyone think of way I can fix this?
0
Comment
Question by:jhartlov
[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
  • 7
  • 6
  • 2
15 Comments
 
LVL 18

Expert Comment

by:Frankco
ID: 17949134
Hi jhartlov,

This issue can occur if any one of the following files are missing, damaged, or not located in the %systemroot%\System32 folder:

Autoexec.nt
Command.com
Config.nt

Try this:

1.  Insert the Windows XP CD.  
2.  Click Start , click Run , type cmd , and then click OK .  
3.  Type the following commands, and press ENTER after each command:

expand D:\i386\config.nt_ c:\windows\system32\config.nt

expand D:\i386\autoexec.nt_ c:\windows\system32\autoexec.nt

expand D:\i386\command.co_ c:\windows\system32\command.com

exit

cheers,
frankco

 
0
 
LVL 8

Accepted Solution

by:
caddlady earned 2000 total points
ID: 17949414
Change the properties for how the program is run:

http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/lgcyapps.mspx
0
 
LVL 18

Expert Comment

by:Frankco
ID: 17949433
Hi jhartlov,

Just a note. From my experience replacing just the autoexec.nt file works in most cases.

cheers,
frankco

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:jhartlov
ID: 17950935
frankco

i expanded all three files, and it did not work.  Still doesn't work.  any other ideas?
0
 
LVL 1

Author Comment

by:jhartlov
ID: 17950961
caddlady;

this didn't work either.
0
 
LVL 1

Author Comment

by:jhartlov
ID: 17951059
Okay....

Here is the weird thing.  If I set the shortcut to start in a window, everything works fine.  However, if I start it in full screen mode it hangs at ntvdm.  Any ideas?
0
 
LVL 8

Expert Comment

by:caddlady
ID: 17952112
0
 
LVL 8

Expert Comment

by:caddlady
ID: 17952146
Have you tried running it in a Win95 compatibility mode or at a lower resolution?
0
 
LVL 8

Expert Comment

by:caddlady
ID: 17952205
0
 
LVL 1

Author Comment

by:jhartlov
ID: 17952213
caddlady;

It seems to only be an issue under full screen mode.
0
 
LVL 8

Expert Comment

by:caddlady
ID: 17952669
That seems to be due to the difference between Graphics and Text modes with the NT Virtual Dos (NTVDM).

If you start it windowed, the press Alt + Enter to switch to full screen does it still hang?
0
 
LVL 1

Author Comment

by:jhartlov
ID: 17952678
That is a good question.  I just checked.  To answer your question, no.  It does not hang if started windowed, and then switched to full screen mode.
0
 
LVL 1

Author Comment

by:jhartlov
ID: 17952703
also, can you tell me how to make my "cmd" shell in full screen mode go back to 80x25 instead of 80x50?
0
 
LVL 8

Expert Comment

by:caddlady
ID: 17955435
Go to Start then Run and type CMD.
On the Tile Bar of the CMD prompt window, Right-click and Go to Properties
On the Layout tab, set the Screen Buffer Size to 80x25 and the Windows Size should be set to 80x25.

It will ask you if you want to set it for just that cmd window or every cmd window from now on.  

Good Luck!

Caddlady
0
 
LVL 8

Expert Comment

by:caddlady
ID: 17955447
0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

670 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