home *** CD-ROM | disk | FTP | other *** search
/ Spel 4 / Spel4.iso / add-on / quake / utility / cujo11 / install.bat < prev    next >
Encoding:
DOS Batch File  |  1996-08-13  |  875 b   |  48 lines

  1. @echo off
  2. cls
  3. echo Installation for CUJO Quake Mod version 1.0
  4. echo.
  5.  
  6. if [%1] == [] goto usage
  7. if not [%2] == [] goto usage
  8.  
  9. if exist %1\quake.exe goto gooddir
  10.  
  11. :baddir
  12. echo Quake does not appear to be installed in %1.
  13. echo.
  14. goto usage
  15.  
  16. :gooddir
  17. md %1\cujo11
  18. md %1\cujo11\progs
  19.  
  20. copy progs.dat %1\cujo11
  21. copy cujo11.txt %1\cujo11
  22. copy source.zip %1\cujo11
  23. copy cujo11.bat %1
  24. copy cujo.mdl %1\cujo11\progs
  25. copy h_cujo.mdl %1\cujo11\progs
  26.  
  27. cd %1
  28.  
  29. echo.
  30. echo Cujo version 1.1 was installed in CUJO11\.  If you have an
  31. echo earlier version of Cujo, it was not overwritten!
  32. echo.
  33. echo Type CUJO11 [ENTER] to play Quake with the Cujo mod.
  34. echo.
  35.  
  36. goto end
  37.  
  38. :usage
  39. echo Usage:
  40. echo.
  41. echo  INSTALL dir_name [ENTER]
  42. echo.
  43. echo  where dir_name is the directory where Quake is installed.
  44. echo.
  45. echo  e.g.  INSTALL C:\GAMES\QUAKE
  46. echo.
  47. :end
  48.