home *** CD-ROM | disk | FTP | other *** search
/ The SelectWare System Volume 2 #3 / The_SelectWare_System_Series_1_Volume_2_Number_3_Selectware.iso / bit10000 / install.bat < prev    next >
DOS Batch File  |  1989-02-28  |  4KB  |  100 lines

  1. echo off
  2. cls
  3. echo   
  4. echo                                                                             
  5. echo                          BITSREAM ROLLING DEMO                              
  6. echo                          DISKETTE INSTALLATION                              
  7. echo                                                                             
  8. echo                You should have FIVE 1.2M High Density Diskettes             
  9. echo           The DEMO is about 5 megabytes in size after installation.         
  10. echo                                                                             
  11. echo                To install the demo to your hard drive, type:                
  12. echo                   INSTALL [drive]:                                          
  13. echo                      [drive] should specify the hard drive you are          
  14. echo                      installing onto. If not given, default drive will be   
  15. echo                      the C drive.                                           
  16. echo                    eg.                                                      
  17. echo                        INSTALL                - install onto C drive        
  18. echo                        INSTALL D:             - install onto D drive        
  19. echo                                                                             
  20. echo                    After installation, you should have the demo in the      
  21. echo                    subdirectory \BITDEMO on the drive that you specified.   
  22. echo                                                                             
  23. echo          Use Ctrl-Break and answer Y to stop the installation.              
  24. echo                                                                             
  25. echo                                                                             
  26. echo   
  27. pause
  28. if exist SHOW.EXE goto OnDrive
  29. cls
  30. echo 
  31. echo Please change your default drive to the drive where the demo diskettes are
  32. echo and restart the installation.
  33. goto End
  34. :OnDrive
  35. if %1arg == arg goto NoDrive
  36. set bitdemo=%1
  37. goto Install
  38. :NoDrive
  39. set bitdemo=C:
  40. :Install
  41. md %bitdemo%\bitdemo
  42. cls    
  43. echo Copying the first diskette, Please wait...
  44. copy *.* %bitdemo%\bitdemo
  45. echo The first diskette has been installed successfully.
  46. :TWO
  47. echo Please Insert Diskette Number 2
  48. pause
  49. if exist DISK2.TXT goto SECOND
  50. echo The diskette in the disk drive is not the correct one. 
  51. goto TWO
  52. :SECOND
  53. echo Copying the second diskette, Please wait...
  54. copy *.* %bitdemo%\bitdemo
  55. echo The second diskette has been installed successfully.
  56. :THREE
  57. echo Please Insert Diskette Number 3
  58. pause
  59. if exist DISK3.TXT goto THIRD
  60. echo The diskette in the disk drive is not the correct one. 
  61. goto THREE
  62. :THIRD
  63. echo Copying the third diskette, Please wait...
  64. copy *.* %bitdemo%\bitdemo
  65. echo The third diskette has been installed successfully.
  66. :FOUR
  67. echo Please Insert Diskette Number 4
  68. pause
  69. if exist DISK4.TXT goto FOURTH
  70. echo The diskette in the disk drive is not the correct one. 
  71. goto FOUR
  72. :FOURTH
  73. echo Copying the fourth diskette, Please wait...
  74. copy *.* %bitdemo%\bitdemo
  75. echo The fourth diskette has been installed successfully.
  76. :FIVE
  77. echo Please Insert Diskette Number 5
  78. pause
  79. if exist DISK5.TXT goto FIFTH
  80. echo The diskette in the disk drive is not the correct one. 
  81. goto FIVE
  82. :FIFTH
  83. echo Copying the fifth diskette, Please wait...
  84. copy *.* %bitdemo%\bitdemo
  85. echo The fifth diskette has been installed successfully.
  86. cls
  87. echo The installation of the Bitstream Rolling Demo is complete.
  88. echo To start, type DEMO and press Enter.
  89. %bitdemo%
  90. cd \bitdemo
  91. echo Now the demo will automatically start for you. If you do not want to
  92. echo start the demo, press Ctrl-Break and answer Y to the question.
  93. pause
  94. demo
  95. goto End
  96. :ErrorEnd
  97. echo 
  98. echo Error: Possible cause will be insufficient disk space or bad diskettes.
  99. :End
  100.