Microsoft KB Archive/79614

{|
 * width="100%"|

Windows: PATH Command Searches All Entries

 * }

Q79614

-

The information in this article applies to:


 * Microsoft Windows versions 3.0, 3.0a, 3.1, 3.11
 * Microsoft Windows for Workgroups versions 3.1, 3.11

-

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 :

where : 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: "chkdsk"

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 &quot;Cannot read from drive A:&quot; error message.

Additional query words: 3.00 err msg floppy 3.1 3.10 3.11

Keywords :

Issue type :

Technology : kbAudDeveloper kbWin3xSearch kbWFWSearch kbWin300 kbWin300a kbWin310 kbWin311 kbWFW310 kbWFW311