rem START
: start
echo off
cls
rem *************************************************************************************************************************
rem DISCLAIMER
echo.
echo ****THIS WILL REMOVE ELO MONMOUSE FOR WINDOWS 95 v2.00 TOUCHSCREEN DRIVER****
rem ************************************************************************************************************************
rem FORK
echo Do you wish to continue? 
choice /c:NY 
if errorlevel 2 goto remove
echo.
rem ************************************************************************************************************************
rem TERMINATING PROGRAM
:Term
echo You have selected to not remove the device driver Monitor Mouse 2.0 for 95/98
echo No changes have been made to your system.
goto end
rem ************************************************************************************************************************
rem REMOVING THE DRIVER
:Remove
echo.
echo Remove the touchscreen driver files from which drive? (by default, the drivers
echo are installed on drive C)
echo Enter the drive letter:(A, B, C, D, E, F)
choice /n /c:ABCDEF
rem choices
if errorlevel 6 goto f
if errorlevel 5 goto e
if errorlevel 4 goto d
if errorlevel 3 goto c
if errorlevel 2 goto b
if errorlevel 1 goto a
rem ************************************************************************************************************************
rem REMOVE FROM A
rem
:a
echo You have selected A:\, Do you wish to continue
choice /c:YN
if errorlevel 2 goto start
c:\
cd\windows\system\temp
attrib -r elocal32.exe 
del elocal32.exe
attrib -r rbutton.exe 
del rbutton.exe
attrib -r mminst.dll 
del mminst.dll
attrib -r  monmouse.* 
del monmouse.*
attrib -r mmuninst.exe 
del mmuninst.exe
cls
cd\
cd\windows\inf
attrib -r mminf.dat 
del mminf.dat
cls
cd\
cd\windows\system
attrib -r elocal32.exe 
del elocal32.exe
attrib -r rbutton.exe 
del rbutton.exe
attrib -r mminst.dll 
del mminst.dll
attrib -r mmunist.exe 
del mmuninst.exe
attrib -r monmouse.* 
del monmouse.*
cd\
cls
goto finished
rem ************************************************************************************************************************
rem REMOVE FROM B
rem
:b
echo You have selected B:\, Do you wish to continue
choice /c:YN
if errorlevel 2 goto start
c:\
cd\windows\system\temp
attrib -r elocal32.exe 
del elocal32.exe
attrib -r rbutton.exe 
del rbutton.exe
attrib -r mminst.dll 
del mminst.dll
attrib -r  monmouse.* 
del monmouse.*
attrib -r mmuninst.exe 
del mmuninst.exe
cls
cd\
cd\windows\inf
attrib -r mminf.dat 
del mminf.dat
cls
cd\
cd\windows\system
attrib -r elocal32.exe 
del elocal32.exe
attrib -r rbutton.exe 
del rbutton.exe
attrib -r mminst.dll 
del mminst.dll
attrib -r mmunist.exe 
del mmuninst.exe
attrib -r monmouse.* 
del monmouse.*
cd\
cls
goto finished
rem ***********************************************************************************************************************
rem REMOVE FROM C
rem
:c
echo You have selected C:\, Do you wish to continue
choice /c:YN
if errorlevel 2 goto start
c:\
cd\windows\system\temp
attrib -r elocal32.exe 
del elocal32.exe
attrib -r rbutton.exe 
del rbutton.exe
attrib -r mminst.dll 
del mminst.dll
attrib -r  monmouse.* 
del monmouse.*
attrib -r mmuninst.exe 
del mmuninst.exe
cls
cd\
cd\windows\inf
attrib -r mminf.dat 
del mminf.dat
cls
cd\
cd\windows\system
attrib -r elocal32.exe 
del elocal32.exe
attrib -r rbutton.exe 
del rbutton.exe
attrib -r mminst.dll 
del mminst.dll
attrib -r mmunist.exe 
del mmuninst.exe
attrib -r monmouse.* 
del monmouse.*
cd\
cls
goto finished
rem *********************************************************************************************************************
rem REMOVE FROM D
rem
:d
echo You have selected D:\, Do you wish to continue
choice /c:YN
if errorlevel 2 goto start
d:\
cd\windows\system\temp
attrib -r elocal32.exe 
del elocal32.exe
attrib -r rbutton.exe 
del rbutton.exe
attrib -r mminst.dll 
del mminst.dll
attrib -r  monmouse.* 
del monmouse.*
attrib -r mmuninst.exe 
del mmuninst.exe
cls
cd\
cd\windows\inf
attrib -r mminf.dat 
del mminf.dat
cls
cd\
cd\windows\system
attrib -r elocal32.exe 
del elocal32.exe
attrib -r rbutton.exe 
del rbutton.exe
attrib -r mminst.dll 
del mminst.dll
attrib -r mmunist.exe 
del mmuninst.exe
attrib -r monmouse.* 
del monmouse.*
cd\
cls
goto finished
rem ***********************************************************************************************************************
rem REMOVE FROM E
rem
:e
echo You have selected E:\, Do you wish to continue
choice /c:YN
if errorlevel 2 goto start
c:\
cd\windows\system\temp
attrib -r elocal32.exe 
del elocal32.exe
attrib -r rbutton.exe 
del rbutton.exe
attrib -r mminst.dll 
del mminst.dll
attrib -r  monmouse.* 
del monmouse.*
attrib -r mmuninst.exe 
del mmuninst.exe
cls
cd\
cd\windows\inf
attrib -r mminf.dat 
del mminf.dat
cls
cd\
cd\windows\system
attrib -r elocal32.exe 
del elocal32.exe
attrib -r rbutton.exe 
del rbutton.exe
attrib -r mminst.dll 
del mminst.dll
attrib -r mmunist.exe 
del mmuninst.exe
attrib -r monmouse.* 
del monmouse.*
cd\
cls
goto finished
rem ***********************************************************************************************************************
rem REMOVE FROM F
rem
:f
echo You have selected f:\, Do you wish to continue
choice /c:YN
if errorlevel 2 goto start
c:\
cd\windows\system\temp
attrib -r elocal32.exe 
del elocal32.exe
attrib -r rbutton.exe 
del rbutton.exe
attrib -r mminst.dll 
del mminst.dll
attrib -r  monmouse.* 
del monmouse.*
attrib -r mmuninst.exe 
del mmuninst.exe
cls
cd\
cd\windows\inf
attrib -r mminf.dat 
del mminf.dat
cls
cd\
cd\windows\system
attrib -r elocal32.exe 
del elocal32.exe
attrib -r rbutton.exe 
del rbutton.exe
attrib -r mminst.dll 
del mminst.dll
attrib -r mmunist.exe 
del mmuninst.exe
attrib -r monmouse.* 
del monmouse.*
cd\
cls
goto finished
rem ********************************************************************************************************************
rem DONE
:finished
echo MonitorMouse version 2.0 for Windows 95/98 has been removed from your System
echo You will need to re-install the Driver, for TouchScreen operation.
echo If you need further assistance please contact Elo Technical Support, 
echo 1-800-489-9935
goto end
rem ********************************************************************************************************************
rem END
:end
exit
