home *** CD-ROM | disk | FTP | other *** search
/ PC Player 1998 May / PCP_9805.ISO / PATCHES / DARKR / ALIEN.ZIP / ALIEN.BAT next >
Encoding:
DOS Batch File  |  1997-10-10  |  1.3 KB  |  68 lines

  1. @echo off
  2. @if "%1"=="" goto err
  3.  
  4. echo ----
  5. echo -    Please make sure you have entered the correct path to your
  6. echo -    Dark Reign directory! Failure to do so may result
  7. echo -    in weird things happening!
  8. echo -    This batch file assumes you have entered the directory name
  9. echo -    in the following format:
  10. echo -    alien c:\"program files"\activision\"dark reign"
  11. echo -    Again, make sure this batch file points to this directory.
  12. echo ----
  13.  
  14. pause
  15.  
  16. @if not exist %1\dark\addon\nul goto makedir
  17.  
  18.  
  19. :go
  20.  
  21. @md %1\dark\addon\alien
  22.  
  23. @copy alien.ftg %1\dark\addon\alien
  24.  
  25. @copy packman.cfg %1\dark\addon\alien
  26.  
  27. @copy trneff.txt %1\dark\addon\alien
  28.  
  29. @copy pack1.cfg %1\dark\packman.cfg
  30.  
  31. @if exist %1\dark\addon\asteroid\nul goto allterr
  32.  
  33.  
  34. goto success
  35.  
  36. :success
  37.  
  38. echo -
  39. echo -    That's it!
  40. echo -
  41. goto end
  42.  
  43. :err
  44.  
  45. echo /--------------------------------------------------------------------\
  46. echo -    Please enter the directory in which you installed Dark Reign.   -
  47. echo -                                                                    -
  48. echo -    eg: alien c:\"program files"\activision\"dark reign"         -
  49. echo \--------------------------------------------------------------------/
  50. pause
  51. goto end
  52.  
  53. :makedir
  54.  
  55. @md %1\dark\addon
  56.  
  57. goto go
  58.  
  59. :allterr
  60.  
  61. copy allterr.cfg %1\dark\packman.cfg
  62.  
  63. goto success
  64.  
  65. :end
  66.  
  67.  
  68.