home *** CD-ROM | disk | FTP | other *** search
/ fast geschenkt! 11 / FG_11.iso / dosinst.bat < prev    next >
Encoding:
DOS Batch File  |  1996-08-20  |  3.6 KB  |  127 lines

  1. @echo off
  2. cls
  3. echo.
  4. echo         ***  Installation für NORTON COMMANDER 4.0 von  ***
  5. echo     ***  der Heft-CD-ROM der Zeitschrift FAST GESCHENKT 11  ***
  6. echo.
  7.  
  8. rem     * Stellt sicher, daß Zielpfad existiert bzw. angelegt werden kann
  9. if exist C:\PV\nul goto pathexists
  10. md C:\PV
  11.  
  12. :pathexists
  13. echo.
  14. echo     Diese Install-Batch kopiert zunächst die Dateien von PicView in
  15. echo     das vorgegebene Verzeichnis auf Ihrer Festplatte.
  16. echo.
  17. echo     Danach wird das eigentliche Installationsprogramm des
  18. echo     NORTON COMMANDERs gestartet.
  19. echo.
  20. PAUSE
  21. rem     * Kopiert die PV-Dateien falls erforderlich
  22. if exist dummy.tst del dummy.tst >nul
  23. if exist C:\PV\dummy.tst del C:\PV\dummy.tst >nul
  24. echo TEST >C:\PV\dummy.tst
  25. if exist dummy.tst goto filesexists
  26. if not exist C:\PV\dummy.tst goto error4
  27.  
  28. cls
  29. echo.
  30. echo      Dateien werden kopiert, bitte haben Sie etwas Geduld.
  31. echo.
  32. copy \picview\ANS.BAT C:\PV >nul
  33. copy \picview\BESTELL.TXT C:\PV >nul
  34. copy \picview\DOC.BAT C:\PV >nul
  35. copy \picview\FILE_ID.DIZ C:\PV >nul
  36. copy \picview\HISTORY.TXT C:\PV >nul
  37. copy \picview\INSTALL.BAT C:\PV >nul
  38. copy \picview\LIESMICH.TXT C:\PV >nul
  39. copy \picview\LOGO.TXT C:\PV >nul
  40. copy \picview\MPG.BAT C:\PV >nul
  41. copy \picview\PCD.SLD C:\PV >nul
  42. copy \picview\PV.ANS C:\PV >nul
  43. copy \picview\PV.DOC C:\PV >nul
  44. copy \picview\PV.EXE C:\PV >nul
  45. copy \picview\PV.PIF C:\PV >nul
  46. copy \picview\PVCMD.BAT C:\PV >nul
  47. copy \picview\PVDEMO.EXE C:\PV >nul
  48. copy \picview\REGISTER.EXE C:\PV >nul
  49. copy \picview\SAMPLES.EXE C:\PV >nul
  50. copy \picview\VESAINFO.EXE C:\PV >nul
  51. copy \picview\VGASPEED.EXE C:\PV >nul
  52. copy \picview\ZIP.BAT C:\PV >nul
  53.  
  54. :filesexists
  55. del C:\PV\dummy.tst >nul
  56.  
  57. rem     * DOS has no interactive batch file commands,
  58. rem     * so we create a special program to solve that!
  59. rem     * the 'garbage' in the echo command is program code
  60. rem     * to read a key into an errorlevel, the program code
  61. rem     * will be copied into an executable file.
  62. echo ═êα╧┤L═! >C:\PV\ask.com
  63.  
  64. echo.
  65. echo   Die Installation von PicView wurde erfolgreich abgeschlossen. 
  66. echo   Direkt im Anschluß wird die Installation des NORTON COMMANDERs
  67. echo   gestartet. 
  68. echo.
  69. echo.
  70. pause
  71. goto norton
  72.  
  73. :error1
  74. echo.
  75. echo     Fehler: Ungültiger Programmaufruf!
  76. echo.
  77. echo     Stellen Sie sicher, daß Sie INSTALL.BAT im Hauptverzeichnis
  78. echo     Ihrer CD-ROM aufrufen. 
  79. echo.
  80. echo     Beispiel: Wenn sich die Dateien im Laufwerk D: befinden, geben
  81. echo               Sie bitte folgendes ein:
  82. echo.
  83. echo                  D:           [Enter]
  84. echo                  CD\          [Enter]
  85. echo                  INSTALL.BAT      [Enter]
  86. echo.
  87. echo.
  88. goto end
  89.  
  90. :error4
  91. echo.
  92. echo     Fehler: Dateien können nicht nach C:\PV kopiert werden.
  93. echo.
  94. echo     Nicht genügend Platz? Laufwerk schreibgeschützt?
  95. echo.
  96. goto end
  97.  
  98. :norton
  99. echo.
  100. echo     Die Dateien von PicView befinden sich jetzt im Verzeichnis
  101. echo.
  102. echo         C:\PV
  103. echo.
  104. echo     Diese Bildbearbeitungssoftware wird vom NORTON COMMANDER
  105. echo     als externer Bildbetrachter aufgerufen.
  106. echo     PicView ist darüber hinaus ein äußerst vielfältiges Grafik-
  107. echo     programm, welches Sie im oben genannten Verzeichnis mit 
  108. echo     dem Befehl
  109. echo.
  110. echo         PV.EXE
  111. echo.
  112. echo     direkt starten können. 
  113. echo.
  114. echo     Denken Sie bitte daran: Diese Version von PicView ist Shareware.
  115. echo     Wollen Sie das Programm dauerhaft legal nutzen, bestellen Sie beim
  116. echo     Autor die Vollversion. Näheres finden Sie in der Datei BESTELL.TXT
  117. echo     im Verzeichnis C:\PV.
  118. echo.
  119. echo.
  120. pause
  121. \nc\install.exe
  122.  
  123. :end
  124. if exist C:\PV\ask.com del C:\PV\ask.com >nul
  125.  
  126. pause
  127.