home *** CD-ROM | disk | FTP | other *** search
- @echo off
- if exist %0\archive.exe goto gotcommand
- echo UNEXPECTED FATAL ERROR: COULD NOT FIND ARCHIVE: %0\ARCHIVE.EXE
-
- if not exist %0 goto stopnow
- echo Please repeat the command, but do NOT enter the .BAT extension!
- goto stopnow
-
- :gotcommand
- if not exist %1\nul goto goforit
- if exist %1nul echo Default target directory is:
- if exist %1nul cd %1
- if exist %1nul %0 %1.
-
- :goforit
- echo Installation will proceed from %0\ARCHIVE to %1\*.*
- if exist %1\*.* echo The target directory already contains some files.
- echo Press Control and C to abort installation, OR
- pause
- %0\archive -D -o %1\
- if errorlevel 1 goto stopnow
-
- :stopnow
-
-
-