Article ID: 102418 - View products that this article applies to.
This article was previously published under Q102418
When you log on to Windows NT, one of the following error messages appears:
This problem occurs when the PATH statement in the AUTOEXEC.BAT file, Windows NT System Environment Variables, or User Environment Variables for <user name> references a floppy disk drive or CD-ROM drive.
If you reference a floppy disk or CD-ROM drive in the AUTOEXEC.BAT, Windows NT 4.0 does not display the error when you log on but will display the error when you run applications such as EDIT.COM, WRITE.EXE or NOTEPAD.EXE.
To work around this problem, either have a disk in the drive or remove the entry from the PATH statement.
The drive letter may not be entered in the PATH statement, but will be found in the following registry location:
Delete it here and log back in.
When a user logs into his or her account, Windows NT searches for an AUTOEXEC.BAT file in the root directory of drive C. If the file is found, NTVDM.EXE appends its PATH environment variable to the system PATH environment variable. Only the VDM PATH variable is affected.
NTVDM tests the PATH statement for validity. If the drive physically exits, NTVDM tests for the drive type (removable media or fixed). If the drive is a floppy disk or CD-ROM, it tests for the presence of valid media. If none is found, the error message is displayed. If invalid drives are used in the AUTOEXEC.BAT PATH statement, no error message is displayed, but the PATH variable in any VDMs that are opened will be invalid.
The same message may also be displayed if you try to start an application such as NOTEPAD.EXE in Program Manager by choosing Run from the File menu.
Article ID: 102418 - Last Review: February 20, 2007 - Revision: 2.2
Contact us for more help
Connect with Answer Desk for expert help.