@echo off
if %3 == install goto install
echo If you wish to install IndyCar Racing II into your system,
echo please run the INSTALL.EXE program.
goto exit

rem   usage:  inst  from_drive to_drive install
rem example:  inst  d: c: install

:install

%2
md cars
cd cars
md cars95
cd cars95
copy %1\icr2\cars\cars95\*.*
cd ..
cd ..

md effects
cd effects
copy %1\icr2\effects\*.*
cd ..

md objs
cd objs
copy %1\icr2\objs\*.*
cd ..

md rol
cd rol
copy %1\icr2\rol\*.*
cd ..

md sound
cd sound
copy %1\icr2\sound\*.*
cd ..

md tracks
cd tracks

md austral
cd austral
copy %1\icr2\tracks\austral\*.*
cd ..

md clevland
cd clevland
copy %1\icr2\tracks\clevland\*.*
cd ..

md detroit
cd detroit
copy %1\icr2\tracks\detroit\*.*
cd ..

md elkhart
cd elkhart
copy %1\icr2\tracks\elkhart\*.*
cd ..

md laguna
cd laguna
copy %1\icr2\tracks\laguna\*.*
cd ..

md longbch
cd longbch
copy %1\icr2\tracks\longbch\*.*
cd ..

md michigan
cd michigan
copy %1\icr2\tracks\michigan\*.*
cd ..

md midohio
cd midohio
copy %1\icr2\tracks\midohio\*.*
cd ..

md mlwaukee
cd mlwaukee
copy %1\icr2\tracks\mlwaukee\*.*
cd ..

md nazareth
cd nazareth
copy %1\icr2\tracks\nazareth\*.*
cd ..

md nwenglnd
cd nwenglnd
copy %1\icr2\tracks\nwenglnd\*.*
cd ..

md phoenix
cd phoenix
copy %1\icr2\tracks\phoenix\*.*
cd ..

md portland
cd portland
copy %1\icr2\tracks\portland\*.*
cd ..

md toronto
cd toronto
copy %1\icr2\tracks\toronto\*.*
cd ..

md vancouvr
cd vancouvr
copy %1\icr2\tracks\vancouvr\*.*
cd ..

cd ..

mkdir paintkit
cd paintkit
copy %1\icr2\paintkit\*.*
cd ..

copy %1\icr2\paintkit.exe

copy %1\icr2\regdos.exe
copy %1\icr2\regprint.ctl
copy %1\icr2\mailform.ctl
copy %1\icr2\pipeline.ini
copy %1\icr2\slide.inf

copy %1\icr2\uvconfig.exe
copy %1\icr2\hmi*.386
copy %1\icr2\indycar.exe
copy %1\icr2\setup.exe
copy %1\icr2\setup.cfg
copy %1\icr2\modems.cfg
copy %1\icr2\mip.cfg
copy %1\icr2\calendar
copy %1\icr2\readme.txt
copy %1\icr2\main.dat

:exit
