WINDOWS kbhw kbenv The information in this article applies to:
SUMMARYMicrosoft Windows 3.1 usually relies on the MOUSE.INI file to tell the MOUSE.DRV file which port the mouse is connected to. Windows 3.1 can find the MOUSE.INI file in any directory, depending on specific environment and SYSTEM.INI settings. Incorrect settings in either the MOUSE.INI file, SYSTEM.INI file, or the "set mouse=" variable may prevent the mouse from working in Windows. MORE INFORMATION
Windows 3.1 looks for the MOUSE.INI file in the following order:
[mouse]If there is a MOUSE.INI file but the mouse is plugged into a different port than what's specified by the MouseType= parameter, the mouse driver changes the MouseType= parameter to reflect the port in which it did find a mouse. For example, if the MOUSE.INI reads "MouseType=Serial1", but you later change the mouse to COM2, then the mouse driver changes the MOUSE.INI to read "MouseType=Serial2" the next time it's loaded. The "set mouse=" variable in the AUTOEXEC.BAT file overrides the path settings of the MOUSE.DRV= in the SYSTEM.INI file during Windows 3.1's search for the MOUSE.INI file. For example,
then Windows 3.1 looks for MOUSE.INI in the C:\MOUSE\ONE directory.
(If there is no MOUSE.INI file there, one is created in C:\MOUSE\ONE.)
If there is no "set mouse=" variable, Windows 3.1 uses the MOUSE.INI file in the path settings of the "mouse.drv=" in the SYSTEM.INI. For example,
then Windows 3.1 looks for MOUSE.INI in the D:\MICE\TWO directory. (If
there is no MOUSE.INI file there, one is created in D:\MICE\TWO.)
If the "set mouse=" variable is set to a nonexistant directory, no MOUSE.INI file is used; Windows 3.1 simply looks for the first port with a mouse connected to it. No MOUSE.INI file is created. The Microsoft Mouse software search in Windows is as follows:
For more information, query on the following words in the Microsoft
Knowledge Base:
MOUSE.INI and WIN31 Additional query words: 3.10
Keywords : |
Last Reviewed: September 17, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |