For a mouse to work in an MS-DOS environment, load the Microsoft mouse driver mouse.com in the autoexec.bat file or the mouse device driver mouse.sys loading in your config.sys file.
- USB not working or detected in Safe Mode or MS-DOS.
Find the MS-DOS mouse driver
Before placing any information into the Autoexec.bat and Config.sys, you need to locate one of those files on your computer. To locate a file in MS-DOS, type either of the commands below at C:> prompt.
dir mouse.com /s
or
dir mouse.sys /s
Once either of these commands are typed in, a list of directories containing the file is shown. If you get a file not found error, try the alternate command.
Load mouse driver
Once the file is on the computer, follow the instructions below that correspond with the file that was found.
Autoexec.bat
LH C:\Windows\MOUSE.COM
Config.sys
DEVICE=C:\Windows\MOUSE.SYS
The above two lines are examples. If either file is located in another directory, you would substitute the C:\Windows\ for the directory containing the file.
Related information
- Autoexec.bat and config.sys help.
- Microsoft dir command help.
- See the hardware downloads section to download the mouse.com file.
- Mouse and touchpad help and support.