home *** CD-ROM | disk | FTP | other *** search
/ TopWare Tools / TOOLS.iso / tools / top1182 / instshw.bat < prev   
Encoding:
DOS Batch File  |  1994-01-01  |  1.0 KB  |  47 lines

  1. @echo off
  2. if %1X==X goto laufwfehl
  3. echo"Herzlich willkommen zum Installationsprogramm
  4. echo"von Chemie V1.0 SHAREWARE - VERSION. Bitte drücken 
  5. echo"Sie eine beliebige Taste um mit der Installation zu 
  6. echo"beginnen. (Abbruch mit 'Strg'+C)
  7. pause
  8. choice /c:ab /n "Geben Sie bitte das Startlaufwerk ein [a/b]"
  9. if errorlevel 2 goto b
  10. if errorlevel 1 goto a
  11. :a
  12. if not exists %1\chshw md %1\chshw
  13. a:
  14. cd \chshw
  15. copy a:\chshw\*.* %1\chshw
  16. a:
  17. cd..
  18. %1
  19. goto ende
  20. :b
  21. if not exists %1\chshw md %1\chshw
  22. b:
  23. cd \chshw
  24. copy b:\chshw\*.* %1\chshw
  25. b:
  26. cd..
  27. %1
  28. goto ende
  29. :ende
  30. echo"Die Installation ist nun beendet.
  31. choice /c:jn /n "Wollen Sie das Programm gleich ausprobieren [j/n] ?"
  32. if errorlevel 2 goto ende1
  33. if errorlevel 1 goto start
  34. :start
  35. @echo off
  36. %1
  37. cd..
  38. cd chshw
  39. chemie.exe
  40. goto ende1
  41. :laufwfehl
  42. echo"Sie haben leider die Angabe des Ziellaufwerks vergessen.
  43. echo"Bitte beachten Sie den folgenden Syntax : instshw 'Ziellaufwerk'
  44. echo"Zum Beispiel kopiert instpro c: CHSHW auf die Festplatte C.
  45. goto ende1
  46. :ende1 
  47.