home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1995 December / SOFM_Dec1995.bin / pc / dos / gi / tutordos / install.bat < prev    next >
DOS Batch File  |  1995-10-31  |  3KB  |  93 lines

  1. Echo off
  2. Cls
  3. Echo One moment, please...
  4. If %1. == . Goto NoDrive
  5. If %2. == . Goto NoDrive
  6. If %1 == c Goto FromHard
  7. If %1 == C Goto FromHard
  8. If %1 == d Goto FromHard
  9. If %1 == D Goto FromHard
  10. If %2 == a Goto ToFloppy
  11. If %2 == A Goto ToFloppy
  12. If %2 == b Goto ToFloppy
  13. If %2 == B Goto ToFloppy
  14.  
  15. %2:
  16. MKDIR \TUTORDOS
  17. %1:
  18. COPY *.EXE %2:\TUTORDOS\*.*
  19. COPY *.TBC %2:\TUTORDOS\*.*
  20. COPY HARDSTRT.BAT %2:\TUTORDOS.BAT
  21. Cls
  22. Echo Please insert TUTORDOS disk number 2 in drive %1: and
  23. PAUSE
  24. COPY *.TBC %2:\TUTORDOS\*.*
  25. Cls
  26. Echo Please insert TUTORDOS disk number 3 in drive %1: and
  27. PAUSE
  28. COPY *.TBC %2:\TUTORDOS\*.*
  29. Cls
  30. Echo Please insert TUTORDOS disk number 4 in drive %1: and
  31. PAUSE
  32. COPY *.TBC %2:\TUTORDOS\*.*
  33. Cls
  34. Echo TUTORDOS is now installed on your %2: disk drive.
  35. Echo.
  36. Echo To start TUTORDOS, all you have to do is switch to the %2: disk drive
  37. Echo by typing %2: and pressing [ENTER], then type TUTORDOS and press [ENTER].
  38. Echo.
  39. Goto End
  40.  
  41. :NoDrive
  42. Echo In order to install TUTORDOS on your hard disk drive, you must type
  43. Echo INSTALL followed by the name of the floppy disk drive which contains the
  44. Echo TUTORDOS disk and the name of the hard disk drive you want to install it
  45. Echo to.
  46. Echo.
  47. Echo For example, if TUTORDOS were in disk drive A and you wanted to install
  48. Echo it on disk drive C, you would type:
  49. Echo.
  50. Echo                  INSTALL A C
  51. Echo.
  52. Echo Please try again.
  53.  
  54. Goto End
  55.  
  56. :FromHard
  57. Echo In order to install TUTORDOS on your hard disk drive, you must type
  58. Echo INSTALL followed by the name of the floppy disk drive which contains the
  59. Echo TUTORDOS disk and the name of the hard disk drive you want to install it
  60. Echo to.
  61. Echo.
  62. Echo For example, if TUTORDOS were in disk drive A and you wanted to install
  63. Echo it on disk drive C, you would type:
  64. Echo.
  65. Echo                  INSTALL A C
  66. Echo.
  67. Echo You told me that TUTORDOS was already on your hard disk drive.
  68. Echo Please try again.
  69. Goto End
  70.  
  71. :ToFloppy
  72. Echo In order to install TUTORDOS on your hard disk drive, you must type
  73. Echo INSTALL followed by the name of the floppy disk drive which contains the
  74. Echo TUTORDOS disk and the name of the hard disk drive you want to install it
  75. Echo to.
  76. Echo.
  77. Echo For example, if TUTORDOS were in disk drive A and you wanted to install
  78. Echo it on disk drive C, you would type:
  79. Echo.
  80. Echo                  INSTALL A C
  81. Echo.
  82. Echo You told me that you want to install TUTORDOS on a floppy disk drive.
  83. Echo.
  84. Echo If you don't have a hard disk drive, all you have to do to use TUTORDOS
  85. Echo is put the TUTORDOS disk number 1 in a disk drive and then type TUTORDOS.
  86. Echo Please try again.
  87. Goto End
  88.  
  89. :End
  90. Echo.
  91. Pause
  92. Cls
  93.