home *** CD-ROM | disk | FTP | other *** search
/ The Best of the Best / _.img / 01256 / install.bat next >
DOS Batch File  |  1995-01-14  |  2KB  |  67 lines

  1. echo off
  2. cls
  3. if "%2" == "" goto Nodrive
  4. if %1 == a: goto Driveerst
  5. if %1 == A: goto Driveerst
  6. if %1 == b: goto Driveerst
  7. if %1 == B: goto Driveerst
  8. if %1 == c: goto Driveerst
  9. if %1 == C: goto Driveerst
  10. if %1 == d: goto Driveerst
  11. if %1 == D: goto Driveerst
  12. goto Nodrive
  13. :Driveerst
  14. if %2 == c: goto Testcard
  15. if %2 == C: goto Testcard
  16. if %2 == d: goto Testcard
  17. if %2 == D: goto Testcard
  18. if %2 == e: goto Testcard
  19. if %2 == E: goto Testcard
  20. if %2 == f: goto Testcard
  21. if %2 == F: goto Testcard
  22. if %2 == g: goto Testcard
  23. if %2 == G: goto Testcard
  24. if %2 == h: goto Testcard
  25. if %2 == H: goto Testcard
  26. if %2 == i: goto Testcard
  27. if %2 == I: goto Testcard
  28. if %2 == j: goto Testcard
  29. if %2 == J: goto Testcard
  30. if %2 == k: goto Testcard
  31. if %2 == K: goto Testcard
  32. :Nodrive
  33. echo Format: install [source drive]: [target drive]:
  34. echo Bitte geben Sie an, von welchem Diskettenlaufwerk Sie das Prg. installieren
  35. echo und auf welches Laufwerk das Prg. installiert werden soll.                                        
  36. echo INSTALL A: C:          [Enter]
  37. echo         │  │
  38. echo         │  │
  39. echo         │  └────────── Ziellaufwerk
  40. echo         └───────────── Quellaufwerk                                                           
  41. goto end
  42.  
  43. :Testcard
  44. cls
  45. echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  46. echo +                                                                             +
  47. echo +                                 INSTALLATION                                +
  48. echo +                                                                             +
  49. echo +  "NEW WORLD LEMMINGS" wird auf Laufwerk %2 installiert.                     +
  50. echo +          Dieses Programm erzeugt ein Verzeichnis namens %2\LEMMI3           +
  51. echo +                         Zum Abbruch Ctrl-C drücken.                         +
  52. echo +                                                                             +
  53. echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  54. pause
  55. goto VCopynow
  56. echo Drücken Sie Ctrl-C, wenn Sie jetzt abbrechen möchten.
  57. pause
  58. :VCopynow
  59. echo Hard Disk Installation...
  60. copy %1\lemmi3.exe %2\ > NUL
  61. %2\
  62. cd %2\
  63. lemmi3.exe
  64. cd lemmi3
  65.  
  66. :End
  67.