echo off
rem  %1 is the drive the program is being installed on
rem  %2 is the path that the program is being installed from
godir %1\tndsound
if errorlevel 1 then goto createerr
copy %2\tndsound.exe
if errorlevel 1 then goto copyerr
copy %2\tndsound.hlp
if errorlevel 1 then goto copyerr
copy %2\intro.snd
if errorlevel 1 then goto copyerr
goto noerr
:createerr
echo Error Creating %1\TNDSOUND
echo Usage:  INSTALL targetdrive: sourcedrive:\path
goto done
:copyerr
echo Error Copying from %2
echo Usage:  INSTALL targetdrive: sourcedrive:\path
goto done
:noerr
echo Tandy Sound Installed
:done
