home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / IBMCUA5.LZH / DEMO.BAT < prev    next >
DOS Batch File  |  1991-10-29  |  724b  |  35 lines

  1. echo off
  2. cls
  3. break off
  4. if exist CUA.EXE goto :doit
  5. echo File Not Found
  6. echo Please make sure that the default drive and/or
  7. echo subdirectory are set correctly.
  8. goto :end
  9. :doit
  10. CUA
  11. if not errorlevel 255 goto chk254
  12. echo Error exit 255
  13. goto :end
  14. :chk254
  15. if not errorlevel 254 goto chk253
  16. echo Error exit 254
  17. goto :end
  18. :chk253
  19. if not errorlevel 253 goto chk252
  20. echo Error exit 253
  21. goto :end
  22. :chk252
  23. if not errorlevel 252 goto chk251
  24. echo Error exit    252
  25. goto :end
  26. :chk251
  27. if not errorlevel 251 goto allok
  28. echo Error exit    251
  29. goto :end
  30. :allok
  31. echo Thank you for watching our IBM CUA Architecture
  32. echo demo. If you would like to see it again, 
  33. echo type: DEMO, and press the enter key.
  34. :end end
  35.