Subversion Repositories nw_plus

Rev

Blame | Last modification | View Log | RSS feed

@echo off
:recheck
if not exist mapster32.exe goto mapster32check
:mapster32check_done
start mapster32 /jnw_plus -hnwinter.def -gNWINTER.GRP %*
goto end

:mapster32check
if exist mapster32.bat goto mapster32check_done
if exist ..\mapster32.exe (
cd ..
goto recheck
)
if exist ..\..\mapster32.exe (
cd ..\..
goto recheck
)
if exist ..\..\..\mapster32.exe (
cd ..\..\..
goto recheck
)
if exist ..\mapster32.bat (
cd ..
goto mapster32check_done
)
if exist ..\..\mapster32.bat (
cd ..\..
goto mapster32check_done
)
if exist ..\..\..\mapster32.bat (
cd ..\..\..
goto mapster32check_done
)
echo Warning: You don't have Mapster32 in your directory.
goto mapster32check_done

:end