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

  1. @echo off
  2. echo off
  3. cls
  4. if %1:==c: goto continue
  5. if %1:==C: goto continue
  6. if %1:==d: goto continue
  7. if %1:==D: goto continue
  8. if %1:==e: goto continue
  9. if %1:==E: goto continue
  10. if %1:==f: goto continue
  11. if %1:==F: goto continue
  12. cls
  13. echo 
  14. echo ╔════════════════════════════════════════════════════════════════════╗
  15. echo ║ ┌────────────────────────────────────────────────────────────────┐ ║
  16. echo ║ └────────────────────────────────────────────────────────────────┘ ║
  17. echo ║                                                                    ║
  18. echo ║             ** Please restart the install program **               ║
  19. echo ║                                                                    ║
  20. echo ║         To use this install program please type the word           ║
  21. echo ║          INSTALL followed by a space and the letter name           ║
  22. echo ║     of the hard drive where you want to install this program.      ║
  23. echo ║           Do NOT type a colon. For example, if you wish            ║
  24. echo ║             to install the program on drive C, type:               ║
  25. echo ║                                                                    ║
  26. echo ║  INSTALL C                                                         ║
  27. echo ║                                                                    ║
  28. echo ║ ┌────────────────────────────────────────────────────────────────┐ ║
  29. echo ║ └────────────────────────────────────────────────────────────────┘ ║
  30. echo ╚════════════════════════════════════════════════════════════════════╝
  31. echo 
  32. goto end
  33. :CONTINUE
  34. CLS
  35. ECHO  ╔════════════════════════════════════════════════════════════════════════╗
  36. ECHO  ║ ┌────┐                                                          ┌────┐ ║
  37. ECHO  ║ │    │             This program copies files onto               │    │ ║
  38. ECHO  ║ │    │                    your hard drive.                      │    │ ║
  39. ECHO  ║ │    │                                                          │    │ ║
  40. ECHO  ║ │    │       The files will be located in the directory         │    │ ║
  41. ECHO  ║ │    │        \PDEMO and subdirectories under \PDEMO.           │    │ ║
  42. ECHO  ║ │    │                                                          │    │ ║
  43. ECHO  ║ │    │        If you do not wish to continue with the           │    │ ║
  44. ECHO  ║ │    │         installation, please press Ctrl-Break.           │    │ ║
  45. ECHO  ║ └────┘                                                          └────┘ ║
  46. ECHO  ╚════════════════════════════════════════════════════════════════════════╝
  47. pause
  48. cls
  49. echo ┌───────────────────────────────────────────────────────────────────────┐
  50. echo │                                                                       │
  51. echo │          Before installing this demo onto your hard drive,            │
  52. echo │          make sure you have adequate disk space available:            │
  53. echo │                                                                       │
  54. echo │               to install, you need approximately 1MB.                 │
  55. echo │                                                                       │
  56. echo │               If you do not wish to continue with the                 │
  57. echo │                installation, please press Ctrl-Break.                 │
  58. echo │                                                                       │
  59. echo └───────────────────────────────────────────────────────────────────────┘
  60. echo 
  61. pause
  62. cls
  63. echo 
  64. echo ┌────────────────────────────────────────────────────────────────────┐
  65. echo │                                                                    │
  66. echo │                     Installing Diskette 1                          │
  67. echo │                                                                    │
  68. echo └────────────────────────────────────────────────────────────────────┘
  69. echo 
  70. %1:
  71. md %1:\pdemo
  72. cd \pdemo
  73. copy a:\*.* > nul
  74. install2 %1
  75. :end
  76.