home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / startr10.zip / INSTALL.BAT next >
DOS Batch File  |  1990-10-10  |  2KB  |  51 lines

  1. echo off
  2. IF X%1 == X goto outahere
  3. if not exist startr10.zip goto nofile
  4. echo Installing the Star Trek Video library is necessary ONLY if you want
  5. echo to place the system on another drive or sub-directory.  Install
  6. echo will delete the system if it is in the current directory, so you need
  7. echo to move STARTREK.DBF to a safe place before installing if you have
  8. echo made any changes to the database.  All changes will be lost otherwise.
  9. echo Install should only be started by typing 'install c:' or any
  10. echo other valid drive.  You MUST have the colon after the drive letter,
  11. echo and you cannot include a sub-directory name, otherwise the install
  12. echo process will be hosed.
  13. echo Also note that you need AT LEAST a half meg of free space to install
  14. echo and run the Star Trek Video Library.
  15. echo This install program is about to delete any startrek files (except
  16. echo the STARTR10.ZIP file) and install the files on drive %1.
  17. echo If you do not want the files deleted from the current drive and
  18. echo directory, you need to ABORT and install the files yourself
  19. echo as described in the manual.
  20. echo Hit ctrl-c to ABORT, or any other key to install the
  21. echo Star Trek Video Library on %1 in the STARTREK subdirectory.
  22. pause
  23. del startrek.exe
  24. del st.bat
  25. del st.mem
  26. del startrek.dbf
  27. md %1\STARTREK
  28. cd %1\STARTREK
  29. pkunzip startr10 %1
  30. echo Star Trek Video Library installed.
  31. echo *Please* note that you WILL get an INDEX ERROR the first time
  32. echo you run the program - this is perfectly normal, since the index files
  33. echo must be built by the program.  Execute the program by typing
  34. echo STARTREK or just ST from inside the STARTREK directory on %1.
  35. echo Successfully installed, hit ctrl-c to finish, or any other key to
  36. echo start running the Star Trek Video Library ...
  37. pause
  38. %1
  39. st
  40. :outahere
  41. echo Install should only be started by typing 'install c:' or any
  42. echo other valid drive.  You MUST have the colon after the drive letter,
  43. echo and you cannot include a sub-directory name, otherwise the install
  44. echo process will be hosed.
  45. goto end
  46. :nofile
  47. echo The file named startr10.zip was not found.  It is needed for the install
  48. echo process to run sucessfully.
  49. :end
  50. echo Exiting install process, Star Trek Video Library was not installed.
  51.