home *** CD-ROM | disk | FTP | other *** search
/ CD Direkt 1995 #3 / _.ISO / cdd / info / ssm / install / ssmkat.bat < prev    next >
DOS Batch File  |  1995-01-05  |  1KB  |  79 lines

  1. @Echo off
  2. SET KONFIG=
  3. SET KAT=
  4. SET FROM=
  5. SET TO=
  6. Katalog2 AB
  7. katalog3 Data.001 -m -x31 -y17 -h7 -v14 -s -r1 "-uBitte auswählen"
  8. :Dat1
  9. if errorlevel 255 goto abbruch
  10. if errorlevel 254 goto abbruch
  11. if errorlevel 3 goto endex
  12. if errorlevel 2 goto B
  13. if errorlevel 1 goto A
  14. if errorlevel 0 goto dat1
  15. :A
  16. SET FROM=A
  17. goto dat2
  18. :B
  19. SET FROM=B
  20. goto dat2
  21. :dat2
  22. Katalog2 AC
  23. katalog3 Data.002 -m -x31 -y16 -h7 -v14 -s -r1 "-uBitte auswählen"
  24. :Dat3
  25. if errorlevel 255 goto abbruch
  26. if errorlevel 254 goto abbruch
  27. if errorlevel 7 goto endex
  28. if errorlevel 6 goto H
  29. if errorlevel 5 goto G
  30. if errorlevel 4 goto F
  31. if errorlevel 3 goto E
  32. if errorlevel 2 goto D
  33. if errorlevel 1 goto C
  34. if errorlevel 0 goto dat3
  35. :C
  36. SET TO=C
  37. goto dat4
  38. :D
  39. SET TO=D
  40. goto dat4
  41. :E
  42. SET TO=E
  43. goto dat4
  44. :F
  45. SET TO=F
  46. goto dat4
  47. :G
  48. SET TO=G
  49. goto dat4
  50. :H
  51. SET TO=H
  52. goto dat4
  53.  
  54. :Dat4
  55. cd %TO%:\
  56. if not exist %TO%:\SSM-KATA\*.* goto vorin
  57. katalog3 "-k Der alte Katalog wird gelöscht! "  -r2 -h1 -v14 -s -o
  58. Echo J | del %TO%:\SSM-KATA\*.* > nul
  59. rd %TO%:\SSM-KATA
  60. if exist %TO%:\SSM.BAT del %TO%:\SSM.BAT > nul
  61. :vorin
  62. katalog3 "-k Moment, die VORINSTALLTION läuft! " -r2 -h1 -v14 -s -o
  63. if errorlevel 254 goto abbruch
  64. md %TO%:\SSM-KATA
  65. cd %TO%:\
  66. copy katalog1.exe %TO%:\SSM-KATA > nul
  67. %TO%: > nul
  68. cd SSM-KATA > nul
  69. katalog1.exe > nul
  70. del katalog1.exe > nul
  71. goto ende
  72. :abbruch
  73. cls
  74. goto endex
  75. :ende
  76. inst.bat
  77. :endex
  78. CLS
  79. Echo on