home *** CD-ROM | disk | FTP | other *** search
- echo off
- REM Check for parameters, if none, use defaults
- IF x%1x==xx SET SRC=A:
- IF not x%1x==xx SET SRC=%1
- IF x%2x==xx SET DST=C:
- IF not x%2x==xx SET DST=%2
- echo Creating the Workshop directory...
- mkdir %DST%\workshop
- %DST%
- cd \workshop
- :disk1
- echo.
- echo Please Insert the 5.25" Disk labeled DISK A
- echo.
- pause
- REM CHECK FOR DISK 1 OF 2
- IF not exist %SRC%\diska.exe GOTO disk1
- echo Decompressing files...
- %SRC%\diska
- :disk2
- echo.
- echo Please Insert the 5.25" Disk labeled DISK B
- echo.
- pause
- REM CHECK FOR DISK 2 OF 2
- if not exist %SRC%\diskb.exe goto disk2
- echo Decompressing files...
- %SRC%\diskb
- REM CHECK INSTALLATION
- if exist objects\ladybug.3dw goto okay
- echo.
- echo Installation was not sucessful...
- echo Make sure you have enough room on destination drive and try again
- goto end
- :okay
- echo.
- echo Installation was sucessful!
- :end
- SET SRC=
- SET DST=
-