home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 4 Drivers / 04-Drivers.zip / bernos2.zip / INSTALL.CMD < prev    next >
OS/2 REXX Batch file  |  1993-12-29  |  3KB  |  76 lines

  1. /* This is a simplw REXX program that will install the Iomega OS/2 drivers to the 
  2.     OS/2 Boot Disk */
  3. /*Additional comments document the program*/
  4. Say "Iomega OS/2 Utility Driver Installation Program"
  5. Say "Please enter your OS2 boot drive name? 'e.g. C:'"
  6. Pull BootDrive
  7. Say "Please enter your Source Floppy Drive? 'e.g. A:'"
  8. Pull FloppyDrive
  9. /* Add the Device Driver Line to the Config.sys file on the OS/2 Boot Drive */
  10. IomegaLine='DEVICE = 'BootDrive'\OAD\OS2.SYS'
  11. rc=Lineout(BootDrive'\config.sys',IomegaLine)
  12. Say
  13. MD BootDrive"\oad"
  14. Say "Copying Iomega OS/2 Driver Files...."
  15. Copy FloppyDrive"*.* "BootDrive"\OAD"
  16. /* Say "Copying Iomega Device Files" */
  17. /* Copy FloppyDrive"\OAD\*.* "BootDrive"\OAD" */
  18. selection:
  19. Say "Please Choose Your Adapter"
  20. Say "    1. PC2"
  21. Say "    2. PC4"
  22. Say "    3. Parallel Port"
  23. Say "    4. PC800"
  24. Say "    5. PC1600"
  25. Say
  26. Say "Select One(1-5)"
  27. Pull Adapter
  28. Say "Your selection is "Adapter
  29. If Adapter = 1 then
  30.         Do
  31.                 Say "PC2"
  32.                 copy BootDrive"\OAD\PC2.OAD "BootDrive"\OAD\CONFIG.OAD"
  33.                 Signal quit
  34.         End
  35. If Adapter = 2 then
  36.         Do
  37.                 Say "PC4"
  38.                 copy BootDrive"\OAD\PC4.OAD "BootDrive"\OAD\CONFIG.OAD"
  39.                 Signal quit
  40.         End
  41. If Adapter = 3 then
  42.         Do
  43.                 Say "PPA"
  44.                 copy BootDrive"\OAD\PPA.OAD "BootDrive"\OAD\CONFIG.OAD"
  45.                 Signal quit
  46.         End
  47. If Adapter = 4 then
  48.         Do
  49.                 Say "PC800"
  50.                 copy BootDrive"\OAD\PC800.OAD "BootDrive"\OAD\CONFIG.OAD"
  51.                 Signal quit
  52.         End
  53. If Adapter = 5 then
  54.         Do
  55.                 Say "PC1600"
  56.                 copy BootDrive"\OAD\PC1600.OAD "BootDrive"\OAD\CONFIG.OAD"
  57.                 Signal quit
  58.         End
  59. If Adapter >= 6 then
  60.         Do
  61.                 Say "Invalid selection Try Again"
  62.                 Signal selection
  63.         End
  64. quit:
  65. Say
  66. Say "The Software installation is now complete.  The Iomega OS/2 Driver must now"
  67. Say "be configured.  To configure the Driver use the following steps:"
  68. Say "1.  Shutdown and Reboot your computer"
  69. Say "2.  When the system completes the boot process, open an OS/2 Full Screen Prompt"
  70. Say "3.  Switch to the OAD directory"
  71. Say "4.  Run the GENOAD Program"
  72. Say "5.  Select the Scan Physical Connections Option"
  73. Say "6.  Quit Genoad and Save the Configuration"
  74. Say "7.  Shutdown and Reboot your computer"
  75. Exit /*Exit ends the program immediately */
  76.