Windows: PATH Command Searches All Entries (79614)
The information in this article applies to:
- Microsoft Windows 3.0
- Microsoft Windows 3.1
- Microsoft Windows 3.11
- Microsoft Windows for Workgroups 3.1
- Microsoft Windows for Workgroups 3.11
This article was previously published under Q79614 SYMPTOMS
When you start Windows, or when you execute an application from inside
Windows without specifying a path, you may receive the following error
message
System Error
Cannot read from drive <x>:
where <x>: is a floppy disk drive or a removable media drive letter.
CAUSE
This error is caused when you specify a removable media's drive letter in
the MS-DOS PATH statement of the AUTOEXEC.BAT file. Windows reads all path
specifications in the PATH command before it runs an application. It does
not stop the search after finding the specified file in the search path.
RESOLUTION
Make sure that the drive letter for a removable drive does not appear on
the search path in the AUTOEXEC.BAT file.
Example- Quit Windows.
- Type the following at the MS-DOS command prompt and then press ENTER:
path = c:\;c:\dos;c:\windows;a:\ - Run Windows.
- In Program Manager, choose Run from the File menu.
- Type the following and press ENTER:
Windows then tries to read drive A before running the MS-DOS CHKDSK
command. If no disk is in drive A, then it generates a "Cannot read from
drive A:" error message.
Modification Type: | Minor | Last Reviewed: | 7/19/2005 |
---|
Keywords: | KB79614 |
---|
|