home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 11 / 11.iso / m / m405 / 2.ddi / INSTALL.BAT < prev   
Encoding:
DOS Batch File  |  1992-06-22  |  893 b   |  41 lines

  1. echo off
  2. REM Check for parameters, if none, use defaults
  3. IF x%1x==xx SET SRC=A:
  4. IF not x%1x==xx SET SRC=%1
  5. IF x%2x==xx SET DST=C:
  6. IF not x%2x==xx SET DST=%2
  7. echo Creating the Workshop directory...
  8. mkdir %DST%\workshop
  9. %DST%
  10. cd \workshop
  11. :disk1
  12. echo.
  13. echo Please Insert the 5.25" Disk labeled DISK A 
  14. echo.
  15. pause
  16. REM CHECK FOR DISK 1 OF 2
  17. IF not exist %SRC%\diska.exe GOTO disk1
  18. echo Decompressing files...
  19. %SRC%\diska
  20. :disk2
  21. echo.
  22. echo Please Insert the 5.25" Disk labeled DISK B
  23. echo.
  24. pause
  25. REM CHECK FOR DISK 2 OF 2
  26. if not exist %SRC%\diskb.exe goto disk2
  27. echo Decompressing files...
  28. %SRC%\diskb
  29. REM CHECK INSTALLATION
  30. if exist objects\ladybug.3dw goto okay
  31. echo.
  32. echo Installation was not sucessful...
  33. echo Make sure you have enough room on destination drive and try again
  34. goto end
  35. :okay
  36. echo.
  37. echo Installation was sucessful!
  38. :end
  39. SET SRC=
  40. SET DST=
  41.