home *** CD-ROM | disk | FTP | other *** search
- @if exist %0\archive.exe goto gotcommand
- @echo Unerwartete Fehlfunktion: %0\ARCHIVE.EXE nicht gefunden!
- @if not exist %0 goto stopnow
- @echo Bitte geben Sie NICHT INSTALL.BAT sondern nur INSTALL ein!!
- @goto stopnow
-
- :gotcommand
- @if not exist %1\nul goto goforit
- @if exist %1nul echo Das vorgeschlagene Directory ist:
- @if exist %1nul cd %1
- @if exist %1nul %0 %1.
-
- :goforit
- @echo Wir installieren von %0\ARCHIVE zu %1\*.*
- @if exist %1\*.* echo Das Zielverzeichnis enthält schon Dateien.
- @echo Drücken Sie STRG / CTRL und C gleichzeitig für Abbruch, oder
- @pause
- @%0\archive %1\
- @if errorlevel 1 goto stopnow
- @echo Installation beendet. Viel Spaß!
- @goto theend
- :stopnow
- @echo Fehler bei der Installation! Bitte prüfen Sie Ihre Angaben!
- :theend
-