home *** CD-ROM | disk | FTP | other *** search
- @echo off
- if %1X==X goto laufwfehl
- echo"Herzlich willkommen zum Installationsprogramm
- echo"von Chemie V1.0 SHAREWARE - VERSION. Bitte drücken
- echo"Sie eine beliebige Taste um mit der Installation zu
- echo"beginnen. (Abbruch mit 'Strg'+C)
- pause
- choice /c:ab /n "Geben Sie bitte das Startlaufwerk ein [a/b]"
- if errorlevel 2 goto b
- if errorlevel 1 goto a
- :a
- if not exists %1\chshw md %1\chshw
- a:
- cd \chshw
- copy a:\chshw\*.* %1\chshw
- a:
- cd..
- %1
- goto ende
- :b
- if not exists %1\chshw md %1\chshw
- b:
- cd \chshw
- copy b:\chshw\*.* %1\chshw
- b:
- cd..
- %1
- goto ende
- :ende
- echo"Die Installation ist nun beendet.
- choice /c:jn /n "Wollen Sie das Programm gleich ausprobieren [j/n] ?"
- if errorlevel 2 goto ende1
- if errorlevel 1 goto start
- :start
- @echo off
- %1
- cd..
- cd chshw
- chemie.exe
- goto ende1
- :laufwfehl
- echo"Sie haben leider die Angabe des Ziellaufwerks vergessen.
- echo"Bitte beachten Sie den folgenden Syntax : instshw 'Ziellaufwerk'
- echo"Zum Beispiel kopiert instpro c: CHSHW auf die Festplatte C.
- goto ende1
- :ende1
-