home *** CD-ROM | disk | FTP | other *** search
/ PC Action 1997 February / PCA0297.ISO / up_pa / 02970010 / update.bat < prev   
DOS Batch File  |  1996-12-01  |  2KB  |  90 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 Netzwerk Installation ? ----
  18. Echo Es wird installiert:
  19. Echo.
  20. Echo Update für die Normal Installation von Bleifuss 2   
  21. Echo.
  22. Echo.
  23. Echo.
  24. rem -----------------------------------
  25.  
  26. rem --- Normal procedure --------------
  27. Echo.
  28. Echo.
  29. Echo.
  30. Echo Bitte warten........
  31. copy s2_*.exe %1:\%2 > nul
  32. copy setupn.exe %1:\%2 > nul
  33. %1:
  34. cd \%2
  35. attrib start*.exe -r > nul
  36. if not exist startl.exe goto jump1
  37. del startl.exe
  38. s2_256l.exe > nul
  39. :jump1
  40. if not exist starth.exe goto jump2
  41. del starth.exe
  42. s2_256h.exe > nul
  43. :jump2
  44. if not exist start65l.exe goto jump3
  45. del start65l.exe
  46. s2_65kl.exe > nul
  47. :jump3
  48. if not exist start65h.exe goto jump4
  49. del start65h.exe
  50. s2_65kh.exe > nul
  51. :jump4
  52. del s2_*.exe
  53. del setup.exe
  54. setupn.exe > nul
  55. del setupn.exe > nul
  56. cls
  57. goto installed
  58. rem -----------------------------------
  59.  
  60.  
  61. :installed
  62. Echo. 
  63. Echo Patch Installiert
  64. Echo.
  65. echo Sollten Sie Bleifuss 2 neu installieren, muss auch dieses
  66. echo Update neu installiert werden.
  67. goto end
  68.  
  69. :error1
  70. cls
  71. echo Anwendung: UPDATE LAUFWERK BLEIFUSS2-VERZEICHNIS
  72. echo  
  73. echo Wobei LAUFWERK der Buchstabe Ihrer Festplatte sein muss, gefolgt vom
  74. echo Verzeichnisnamen, indem Sie Bleifuss 2 installiert haben.
  75. echo  
  76. echo Beispiel: UPDATE C B2
  77. echo  
  78. goto end
  79.  
  80. :error2
  81. cls
  82. echo Das Bleifuss 2 Verzeichnis (%1:\%2) wurde nicht gefunden
  83. echo oder die Installation wurde nicht abgeschlossen.
  84. echo Prüfen Sie den angegebenen Pfad. Sollte dieser korrekt sein,
  85. echo installieren Sie Bleifuss 2 bitte erneut.
  86. goto end
  87.  
  88. :end
  89.