REM
REM is the menu directory in the path statement?
%MenuArea%exe\InPath %MenuArea%
if errorlevel 1 goto CheckMouse
:SetPath
        set &p0=%path%
        path %MenuArea%;%Path%

:CheckMouse
REM   No mouse is available
        if "%&Mouse%"=="" goto RunMenu

:SetUp
REM   is there a mouse driver loaded?
      	%MenuArea%exe\mdetect
      	if errorlevel 1 goto GotMouse
      	%&Mouse% > NUL
      	goto RunMenu

:GotMouse
      	set &ML=Y
:RunMenu
        %MenuArea%bat\menu
