home *** CD-ROM | disk | FTP | other *** search
/ PC Player 1998 May / PCP_9805.ISO / PATCHES / DARKR / WALLS.ZIP / WALLS.BAT < prev    next >
Encoding:
DOS Batch File  |  1997-10-10  |  1.7 KB  |  75 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 -    walls 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\walls
  21.  
  22. @copy walls.ftg %1\dark\addon\walls
  23.  
  24. @md %1\dark\scenario\single\walls
  25.  
  26. @copy walls.map %1\dark\scenario\single\walls
  27.  
  28. @copy walls.scn %1\dark\scenario\single\walls
  29.  
  30. @copy tactics.mm %1\dark\scenario\single\walls
  31.  
  32. @copy packman.cfg %1\dark\scenario\single\walls
  33.  
  34. @copy units.txt %1\dark\scenario\single\walls
  35.  
  36. @copy animate.txt %1\dark\scenario\single\walls
  37.  
  38. @copy weapon.txt %1\dark\scenario\single\walls
  39.  
  40. @copy build.txt %1\dark\scenario\single\walls
  41.  
  42. @copy ovleff.txt %1\dark\scenario\single\walls
  43.  
  44. @copy walls.cfg %1\dark\addon\walls
  45.  
  46. @copy mlstring.cfg %1\dark\scenario\single\walls
  47.  
  48. goto success
  49.  
  50. :success
  51.  
  52. echo -
  53. echo -    That's it!
  54. echo -
  55. goto end
  56.  
  57. :err
  58.  
  59. echo /--------------------------------------------------------------------\
  60. echo -    Please enter the directory in which you installed Dark Reign.   -
  61. echo -                                                                    -
  62. echo -    eg: walls c:\"program files"\activision\"dark reign"            -
  63. echo \--------------------------------------------------------------------/
  64. pause
  65. goto end
  66.  
  67. :makedir
  68.  
  69. @md %1\dark\addon
  70.  
  71. goto go
  72.  
  73. :end
  74.  
  75.