home *** CD-ROM | disk | FTP | other *** search
/ PC Player 1997 February / PCP0297A.ISO / PATCHES / BLEI2_2 / UPDATE.BAT < prev   
Encoding:
DOS Batch File  |  1996-12-02  |  1.8 KB  |  84 lines

  1. @Echo off
  2. cls
  3. Echo.
  4. Echo                   Bleifuss 2 Patch Installation (v1.11)
  5. Echo.  
  6.  
  7. rem -------- Check parameters ---------
  8. if "%1" == "" goto error1
  9. if "%2" == "" goto error1
  10. rem -----------------------------------
  11.  
  12. rem --- Check if directory exists -----
  13. if not exist %1:\%2\screamer.cfg goto error2
  14. rem -----------------------------------
  15.  
  16.  
  17. rem -- Normal or Network install ? ----
  18. Echo Es wird installiert:
  19. Echo.
  20. Echo Update für die Netzwerk Installation von Bleifuss 2
  21. Echo.
  22. Echo.
  23. Echo.
  24. goto network
  25. rem -----------------------------------
  26.  
  27.  
  28. rem -----------------------------------
  29.  
  30. :network
  31. rem --- Network procedure -------------
  32. Echo.
  33. Echo. 
  34. Echo.
  35. Echo Bitte warten........
  36. copy s2_*.exe %1:\%2 > nul
  37. copy setupn.exe %1:\%2 > nul
  38. %1:
  39. cd \%2
  40. attrib start*.exe -r > nul
  41. if not exist starth.exe goto njump3
  42. del starth.exe
  43. s2_256hn.exe > nul
  44. :njump3
  45. if not exist start65h.exe goto njump4
  46. del start65h.exe
  47. s2_65khn.exe > nul
  48. :njump4
  49. del s2_*.exe
  50. del setup.exe
  51. setupn.exe > nul
  52. del setupn.exe > nul
  53. cls
  54. rem -----------------------------------
  55.  
  56. :installed
  57. Echo. 
  58. Echo Patch installiert
  59. Echo.
  60. Echo Sollten Sie Bleifuss 2 neu installieren, muss auch dieses Update
  61. Echo neu installiert werden.
  62. Echo.
  63. goto end
  64.  
  65. :error1
  66. cls
  67. echo Benutzung: UPDATE LAUFWERK BLEIFUSS2-VERZEICHNIS
  68. echo.                                                              
  69. echo Wobei LAUFWERK Ihre Festplatte ist, und das VERZEICHNIS angibt,
  70. echo wo Bleifuss 2 installiert wurde.
  71. echo.   
  72. echo Beispiel: UPDATE C B2 
  73. goto end
  74.  
  75. :error2
  76. cls
  77. echo Das Bleifuss 2 Verzeichnis (%1:\%2) gibt es nicht,
  78. echo oder die Installation ist nicht komplett.
  79. echo Bitte prüfen Sie den angegebenen Pfad. Sollte dieser stimmen,
  80. echo installieren Sie Bleifuss 2 erneut.
  81. goto end
  82.  
  83. :end
  84.