Subversion Repositories vaca_plus

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 h266 1
@echo off
2
:recheck
3
if not exist mapster32.exe goto mapster32check
4
:mapster32check_done
5
start mapster32 /jvaca_plus -hvacation.def -gVACATION.GRP %*
6
goto end
7
 
8
:mapster32check
9
if exist mapster32.bat goto mapster32check_done
10
if exist ..\mapster32.exe (
11
cd ..
12
goto recheck
13
)
14
if exist ..\..\mapster32.exe (
15
cd ..\..
16
goto recheck
17
)
18
if exist ..\..\..\mapster32.exe (
19
cd ..\..\..
20
goto recheck
21
)
22
if exist ..\mapster32.bat (
23
cd ..
24
goto mapster32check_done
25
)
26
if exist ..\..\mapster32.bat (
27
cd ..\..
28
goto mapster32check_done
29
)
30
if exist ..\..\..\mapster32.bat (
31
cd ..\..\..
32
goto mapster32check_done
33
)
34
echo Warning: You don't have Mapster32 in your directory.
35
goto mapster32check_done
36
 
37
:end