@echo off
if %3 == install goto install
echo If you wish to install NASCAR Racing 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 cars94
cd cars94
copy %1\nascar\cars\cars94\*.*
cd ..\..

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

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

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

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

md tracks
cd tracks

md atlanta
cd atlanta
copy %1\nascar\tracks\atlanta\*.*
cd ..

md bristol
cd bristol
copy %1\nascar\tracks\bristol\*.*
cd ..

md darlingt
cd darlingt
copy %1\nascar\tracks\darlingt\*.*
cd ..

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

md mrtnsvil
cd mrtnsvil
copy %1\nascar\tracks\mrtnsvil\*.*
cd ..

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

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

md taladega
cd taladega
copy %1\nascar\tracks\taladega\*.*
cd ..

md watglen
cd watglen
copy %1\nascar\tracks\watglen\*.*
cd ..\..

md paintkit
cd paintkit
copy %1\nascar\paintkit\*.*
cd ..

copy %1\nascar\univesa.exe
copy %1\nascar\rminfo.exe
copy %1\nascar\pminfo32.exe
copy %1\nascar\paintkit.exe
copy %1\nascar\hmi*.386
copy %1\nascar\nascar.exe
copy %1\nascar\setup.exe
copy %1\nascar\setup.cfg
copy %1\nascar\controls.cfg
copy %1\nascar\sound.cfg
copy %1\nascar\gameopts.cfg
copy %1\nascar\modems.cfg
copy %1\nascar\mip.cfg
copy %1\nascar\calendar
copy %1\nascar\loadpats.exe
copy %1\nascar\patches.ini
copy %1\nascar\readme.txt
copy %1\nascar\nasc_m_e.txt
copy %1\nascar\nasc_m_i.txt
copy %1\nascar\nasc_m_d.txt
copy %1\nascar\nasc_m_f.txt
copy %1\nascar\main.dat

:exit
