rem ENGLISH INSTALL SCRIPT
:start

clear
space %1: 50 NoMinSpace
godir %1:%4 CantCreate

clear
rem *** copy minimum files for sim and shell ***
:minfiles
godir %1:%4

%2:

cd \demo\vesa
vesaus /Vvesa /B%1:%4 /TSIERRA.DIB
cd\
%1:

rem *** making demo.bat file
echo @echo off > demo.bat
echo %1:	>> demo.bat
echo cd %4 >> demo.bat
echo @if exist vesadrv.bat call vesadrv.bat >> demo.bat
echo %2:	>> demo.bat
echo cd\demo >> demo.bat
echo call sierra >> demo.bat
echo cd\	>> demo.bat
echo %1:	>> demo.bat
echo cd %4 >> demo.bat




clear
echo
echo  To Run Sneak Peeks:
echo     From the directory of %1:%4,
echo     Type DEMO and press [ENTER].
echo     Make sure the CD is in the same
echo     drive that Sneak Peeks was installed from.
echo
pause

rem ******* end of normal install process **********
end



   rem ******* error handling section **********

:NoMinSpace
clear
echo
echo There is not enough space on %1: to install Sneak Peeks!
echo at least 50 Kilobytes of disk space are necessary.
echo
pause
goto alldone

:CantCreate
alert Unable to create directory %1:%4

   rem ****** something bad happened so quit **********
:alldone
end



