home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 25 Icons / 25-Icons.zip / ICONS_3.ZIP / BOOTDOS.CMD < prev    next >
OS/2 REXX Batch file  |  1990-09-25  |  703b  |  20 lines

  1. /*********************************************************************
  2. *                                                                    *
  3. *  Program name:     BOOTDOS.CMD                                     *
  4. *  Program purpose:  Boot DOS 4.01 using OS/2 EE's dual boot         *
  5. *                    facility.                                       *
  6. *                                                                    *
  7. *********************************************************************/
  8. '@echo off'
  9. 'c:'
  10. 'cd \os2'
  11. 'boot /dos'
  12. if rc = 1 then do
  13.   say 'Boot aborted by user.'
  14.   exit rc
  15.   end
  16. 'd:'
  17. say 'Boot command failed with a return code of:' rc'.'
  18. parse pull ans
  19. exit rc
  20.