home *** CD-ROM | disk | FTP | other *** search
/ Adventures in Heaven 2 / adventuresinheaven2powergamesfordosandwindows.iso / dos / arcade / lotf16a / inst2.bat < prev    next >
DOS Batch File  |  1993-11-29  |  1KB  |  47 lines

  1. echo off
  2. rem Second stage of two-disk installation. This is run from the destination
  3. rem directory, which is current on entry.
  4. rem Args are: src-drv dest-drv dest-dir DSK2
  5.  
  6. if "%1"=="" goto usage
  7. if "%2"=="" goto usage
  8. if "%3"=="" goto usage
  9. if not "%4"=="DSK2" goto usage
  10. goto start
  11. :usage
  12. echo Run INSTALL to install the program.
  13. goto done
  14.  
  15. :start
  16.  
  17. :insdsk2
  18. echo.
  19. echo Please insert 'Disk 2' in drive %1
  20. echo.
  21. pause
  22. if not exist %1lotfdsk2.id goto insdsk2
  23. echo Copying 'Disk 2' files to %2%3...
  24. rem Note: the destination directory is '.'.
  25. xcopy %1*.* .
  26. if errorlevel 1 goto copyfail
  27.  
  28. echo.
  29. echo Installation complete. Type LOTF to start the game.
  30. if not exist hiscore.old goto done
  31.  
  32. echo.
  33. echo The old hi-score data has been saved in HISCORE.OLD. Use
  34. echo.
  35. echo   COPY HISCORE.OLD HISCORE.DAT
  36. echo.
  37. echo to restore the old scores.
  38. echo.
  39. echo If you have just installed a different version of the program, run
  40. echo SETUP now to select any newly available options.
  41. goto done
  42.  
  43. :copyfail
  44. echo INSTALL: File copy failed.
  45.  
  46. :done
  47.