home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-386-Vol-2of3.iso / d / dl47.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-01-22  |  2KB  |  103 lines

  1. echo off
  2. cls
  3. echo                            DaLabeler v4.7 Installation
  4. echo  
  5. echo  
  6.  
  7. if /%1 == / goto instruct
  8. if /%2 == / goto instruct
  9. if %2 == A goto doFlop
  10. if %2 == a goto doFlop
  11. if %2 == B goto doFlop
  12. if %2 == b goto doFlop
  13. if %2 == C goto doHard
  14. if %2 == c goto doHard
  15. if %2 == D goto doHard
  16. if %2 == d goto doHard
  17. if %2 == E goto doHard
  18. if %2 == e goto doHard
  19. if %2 == F goto doHard
  20. if %2 == f goto doHard
  21. if %2 == G goto doHard
  22. if %2 == g goto doHard
  23. if %2 == H goto doHard
  24. if %2 == h goto doHard
  25.  
  26. :instruct
  27. echo Run INSTALL with drive letter you wish to install from and install to.
  28. echo (I.E. if you wish to install from drive A to drive D, type "INSTALL A D"
  29. echo at the DOS command line.  Choices are Drives A-H).
  30. goto ENDALL
  31.  
  32.  
  33. pause
  34.  
  35. :doFlop
  36. echo  
  37. echo Insert disk in Drive %2 - press CTRL-C to abort.
  38. echo  
  39. pause
  40. echo  
  41. %2:
  42. cd \
  43. echo  
  44. copy %1:dalab*.*
  45. copy %1:dl4*.*
  46. copy %1:mailer.txt
  47. copy %1:read.me
  48. copy %1:printdoc.bat
  49. echo  
  50. echo  Installation is now complete. To run DaLabeler, place floppy disk in
  51. echo  disk drive and type DL4 then press enter. 
  52. echo  
  53. echo  
  54. goto ENDD
  55.  
  56. :doHard
  57. echo  
  58. echo  
  59. echo Warning:  This batch file makes a subdirectory called DaLabler on the
  60. echo target drive %2. Press CTRL-C to abort.
  61. echo   
  62. echo   
  63. echo Ensure that DaLabeler is in Drive %1
  64. echo  
  65. pause
  66. %2:
  67. CD \
  68. if exist %2:\DaLabler\*.* goto Part2
  69. mkdir DaLabler
  70. :Part2
  71. cd DaLabler
  72. echo  
  73. copy %1:dalab*.*
  74. copy %1:dl4*.*
  75. copy %1:mailer.txt
  76. copy %1:read.me
  77. copy %1:printdoc.bat
  78. echo  
  79. echo Now creating batch file DL.BAT in the root directory of drive C
  80. echo  
  81. echo ECHO OFF> C:\DL.BAT
  82. echo CLS>> C:\DL.BAT
  83. echo SET DL4=%2:\DaLabler\>> C:\DL.BAT
  84. echo %2:\DaLabler\DL4 %%1>> C:\DL.BAT
  85. echo SET DL4=>> C:\DL.BAT
  86. echo  
  87. echo Installation completed. To run DaLabeler type DL at the DOS prompt.
  88. :ENDD
  89. echo  
  90. echo  
  91. echo  DaLabeler is easy to use, but please refer to the documentation for
  92. echo  information about inputting neccessary data for configuration. To read
  93. echo  the documentation for DaLabeler, read the file DL4.DOC. You may print
  94. echo  the documentation file to your printer by typing PRINTDOC at the
  95. echo  command line prompt.
  96. echo  
  97. echo  If you encounter any problems, please refer to the section in
  98. echo  the documentation file whiles lists several tips and suggestions for
  99. echo  using DaLabeler.
  100. :ENDALL
  101. echo  
  102. echo  
  103.