grep "Settings=.\\ridge.ini" k2000p.ini
if errorlevel==1 goto noridge

echo ridge
if "%1"=="ridge" goto loppu

copy k2000p.ini ridge\*.*
copy k2000p.prg  ridge\*.*
copy ionames.txt  ridge\*.*
copy servip.prg ridge\*.*

copy tile\*.*

:tile
call setting %1

goto loppu

:noridge
echo No ridge

if not "%1"=="ridge" goto tile

copy k2000p.ini tile\*.*
copy k2000p.prg tile\*.*
copy ionames.txt tile\*.*
copy servip.prg tile\*.*

copy ridge\*.* 

:loppu


