home *** CD-ROM | disk | FTP | other *** search
/ ÜBERLEBEN... / UEBERLEBEN.ISO / fxfight / install.bat < prev   
DOS Batch File  |  1995-05-23  |  778b  |  25 lines

  1. @if exist %0\archive.exe goto gotcommand
  2. @echo     Unerwartete Fehlfunktion: %0\ARCHIVE.EXE nicht gefunden!
  3. @if not exist %0 goto stopnow
  4. @echo     Bitte geben Sie NICHT INSTALL.BAT sondern nur INSTALL ein!!
  5. @goto stopnow
  6.  
  7. :gotcommand
  8. @if not exist %1\nul     goto goforit
  9. @if exist %1nul     echo Das vorgeschlagene Directory ist:
  10. @if exist %1nul     cd %1
  11. @if exist %1nul     %0 %1.
  12.  
  13. :goforit
  14. @echo    Wir installieren von %0\ARCHIVE zu %1\*.*
  15. @if exist %1\*.*    echo    Das Zielverzeichnis enthaelt schon Dateien.
  16. @echo Druecken Sie STRG / CTRL und C gleichzeitig fuer Abbruch, oder
  17. @pause
  18. @%0\archive %1\
  19. @if errorlevel 1    goto stopnow
  20. @echo   Installation beendet. Viel Spass!
  21. @goto theend
  22. :stopnow
  23. @echo   Fehler bei der Installation! Bitte pruefen Sie Ihre Angaben!
  24. :theend
  25.