home *** CD-ROM | disk | FTP | other *** search
/ Perseus / PERSEUS.iso / spiele / sony.arj / INSTALL.BAT next >
DOS Batch File  |  1992-09-21  |  3KB  |  77 lines

  1.  
  2. echo off
  3. cls
  4. if "%2" == "" goto Nodrive
  5. if %1 == a: goto Driveerst
  6. if %1 == A: goto Driveerst
  7. if %1 == b: goto Driveerst
  8. if %1 == B: goto Driveerst
  9. if %1 == c: goto Driveerst
  10. if %1 == C: goto Driveerst
  11. if %1 == d: goto Driveerst
  12. if %1 == D: goto Driveerst
  13. goto Nodrive
  14. :Driveerst
  15. if %2 == c: goto Testcard
  16. if %2 == C: goto Testcard
  17. if %2 == d: goto Testcard
  18. if %2 == D: goto Testcard
  19. if %2 == e: goto Testcard
  20. if %2 == E: goto Testcard
  21. if %2 == f: goto Testcard
  22. if %2 == F: goto Testcard
  23. if %2 == g: goto Testcard
  24. if %2 == G: goto Testcard
  25. if %2 == h: goto Testcard
  26. if %2 == H: goto Testcard
  27. if %2 == i: goto Testcard
  28. if %2 == I: goto Testcard
  29. if %2 == j: goto Testcard
  30. if %2 == J: goto Testcard
  31. if %2 == k: goto Testcard
  32. if %2 == K: goto Testcard
  33. :Nodrive
  34. echo Format: install [source drive]: [target drive]:
  35. echo Bitte geben Sie das Laufwerk an, auf dem die Installation erfolgen soll
  36. echo sowie das Laufwerk, von dem aus installiert wird.
  37. echo Wenn Sie das SONY GAME von A: nach C: installieren wollen, tippen Sie                                                  
  38. echo INSTALL A: C:          [Enter]
  39. echo         │  │
  40. echo         │  │
  41. echo         │  └────────── Ziellaufwerk
  42. echo         └───────────── Quellaufwerk                                                         
  43. goto end
  44.  
  45. :Testcard
  46. cls
  47. echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  48. echo +                                                                             +
  49. echo +                                 INSTALLATION                                +
  50. echo +                                                                             +
  51. echo +                 Das SONY GAME wird auf Drive %2 installiert.                +
  52. echo +         Dieses Programm kreiert ein Unterverzeichnis namens %2\SONY         +
  53. echo +                             Press Ctrl-C to break.                          +
  54. echo +                                                                             +
  55. echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  56. pause
  57. if exist %2\SONY\*.* goto VExists
  58. mkdir %2\SONY
  59. mkdir %2\SONY\GFX
  60. goto VCopynow
  61. :VExists
  62. echo Das Directory SONY auf drive %2 existiert bereits.
  63. echo Drücken Sie Ctrl-C, wenn Sie dieses Directory nicht überschreiben wollen.
  64. pause
  65. :VCopynow
  66. echo Hard disk install...
  67. copy %1\s\*.* %2\sony > NUL
  68. %1\g\h\u %1\g\gfx %2\sony\gfx
  69.  
  70. if exist %2\sony\sony.bat goto End
  71. %2
  72.  
  73. :Error
  74. echo                Beim Installieren des SONY GAME ist ein Fehler aufgetreten.
  75. echo                      Bitte überprüfen Sie, ob Ihre Harddisk voll ist.
  76.  
  77. :End