Knowledge Base

Troubleshooting MS-DOS-Based Programs in Windows

Article ID: 165214

Article Last Modified on 2/22/2007


APPLIES TO


This article was previously published under Q165214
For a Microsoft Windows XP version of this article, see 314106.

SUMMARY

This article describes how to troubleshoot MS-DOS-based program problems in Windows.

MORE INFORMATION

Test the Ntvdm Subsystem

The first thing to test when you are having problems with MS-DOS-based programs is the Windows Virtual Dos Machine (NTVDM) subsystem. You can use Command.com to test whether the NTVDM subsystem is running properly. You can start Command.com by performing the following steps:
  1. Click the Start button, and then click Run.
  2. In the Open box, type command.com, and then click OK.
This should start a command prompt window. If this does not work properly, there is a problem with the NTVDM subsystem and you should check the following items:

Program-Specific Issues

The following functions do not work in Windows: This means that Windows does not support 16-bit programs that require unrestricted access to hardware. If your program requires this, it will not work in Windows NT or Windows 2000.

You should next check to see if the Autoexec.nt and Config.nt file settings are correct. Always try the default settings listed above. Some programs require special settings or drivers to run in the Config.sys or Autoexec.bat file. If this is the case, there are two options for initializing these files when starting your program: There are other settings in a program's properties. If your program is not working properly, you may want to check all the tabs and make sure that the program settings are set to the manufacturer's specification. If the program is still not working, the vendor of the program should be contacted to see if the program is supported under Windows.

For additional information, please see the following articles in the Microsoft Knowledge Base:

ARTICLE-ID: 171940
TITLE : MS-DOS Application I/O Operations Cause Floppy Drive Access

ARTICLE-ID: 102418
TITLE : NTVDM Error: There Is No Disk in the Drive

ARTICLE-ID: 156687
TITLE : Entries in CONFIG.NT or AUTOEXEC.NT May Cause NTVDM Errors

ARTICLE-ID: 142026
TITLE : Err: "Hidden Console of WOW VDM" Running 16-bit or DOS App

For additional information about printing in an MS-DOS-based program, please see the following article in the Microsoft Knowledge Base:

ARTICLE-ID: 163551
TITLE : Troubleshooting Printing Problems in Windows


Additional query words: apps msdos application

Keywords: KB165214