home *** CD-ROM | disk | FTP | other *** search
/ Secret Service 52a / SSERVCD_52A.iso / UTILS / PATCHES / ALIEN.ZIP / ALIEN.BAT next >
DOS Batch File  |  1997-09-23  |  1KB  |  54 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 -    asteroid 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. :go
  19.  
  20. @md %1\dark\addon\asteroid
  21.  
  22. @copy asteroid.ftg %1\dark\addon\asteroid
  23.  
  24. @copy packman.cfg %1\dark\addon\asteroid
  25.  
  26. @copy pack1.cfg %1\dark\packman.cfg
  27.  
  28. goto success
  29.  
  30. :success
  31.  
  32. echo -
  33. echo -    That's it!
  34. echo -
  35. goto end
  36.  
  37. :err
  38.  
  39. echo /--------------------------------------------------------------------\
  40. echo -    Please enter the directory in which you installed Dark Reign.   -
  41. echo -                                                                    -
  42. echo -    eg: asteroid c:\"program files"\activision\"dark reign"         -
  43. echo \--------------------------------------------------------------------/
  44. pause
  45. goto end
  46.  
  47. :makedir
  48.  
  49. @md %1\dark\addon
  50.  
  51. goto go
  52.  
  53. :end
  54.