Microsoft KB Archive/69337

{|
 * width="100%"|

Loading a Microsoft Mouse Driver from a PIF File

 * }

ID: Q69337

-

The information in this article applies to:


 * Microsoft Windows versions 3.0, 3.0a, 3.1, 3.11
 * Microsoft Mouse driver for MS-DOS, versions 6.x, 7.x

-

SUMMARY
If you load a Microsoft MOUSE.SYS or MOUSE.COM mouse driver from MS-DOS prior to starting Microsoft Windows, the mouse pointer stops responding (freezes) after you start Windows.

Try loading the mouse driver by running a batch file when you start the MS-DOS application. Unload the mouse driver after you exit the MS-DOS application.

NOTE: This information applies to Microsoft Mouse driver versions 7.04 and earlier only. It does not apply to later versions. (Later versions of the Mouse driver cannot be loaded in an MS-DOS session from a batch file.)

MORE INFORMATION
To create the batch file, use the following steps:

  Remove the Device=mouse.sys command from the CONFIG.SYS file or the MOUSE.COM command from the AUTOEXEC.BAT file.   Create a batch file that first loads the mouse driver, then starts the MS-DOS application. Remove the mouse driver from memory when you exit the program. For example:      PROGRAM.BAT

mouse /y program.exe    (Where program.exe is the executable filename      mouse off        for the MS-DOS application.) The last line of PROGRAM.BAT is a command that unloads the Microsoft mouse driver from memory.  Create a PIF file for the batch file.