home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ICLUI.ZIP / HELLO1 / BUILD1.CMD < prev    next >
OS/2 REXX Batch file  |  1993-02-21  |  3KB  |  50 lines

  1. @echo OFF
  2. cls
  3. ECHO ***************************************************************************
  4. ECHO * HELLO WORLD SAMPLE PROGRAM - Version 1: Command File (BUILD1.CMD)       *
  5. ECHO *                                                                         *
  6. ECHO * COPYRIGHT:                                                              *
  7. ECHO * ----------                                                              *
  8. ECHO * Copyright (C) International Business Machines Corp., 1992,1993.         *
  9. ECHO *                                                                         *
  10. ECHO * DISCLAIMER OF WARRANTIES:                                               *
  11. ECHO * -------------------------                                               *
  12. ECHO * The following [enclosed] code is sample code created by IBM             *
  13. ECHO * Corporation.  This sample code is not part of any standard IBM product  *
  14. ECHO * and is provided to you solely for the purpose of assisting you in the   *
  15. ECHO * development of your applications.  The code is provided "AS IS",        *
  16. ECHO * without warranty of any kind.  IBM shall not be liable for any damages  *
  17. ECHO * arising out of your use of the sample code, even if they have been      *
  18. ECHO * advised of the possibility of such damages.                             *
  19. ECHO *-------------------------------------------------------------------------*
  20. ECHO *                                                                         *
  21. ECHO * About to Call AMAKE1.CMD to create (compile, link, and so forth)        *
  22. ECHO *  HELLO1.EXE.                                                            *
  23. ECHO * Enter Ctrl-Break to stop (abort) processing of this command file.       *
  24. ECHO ***************************************************************************
  25. PAUSE
  26. call amake1.cmd
  27. IF NOT ERRORLEVEL 1 GOTO RUN
  28. ERROR:  Failed to create HELLO1.EXE
  29. REMEDY: Make sure that you have installed the correct components and try again.
  30.         Most likely problems: Incorrect LIB path, incorrect installation of
  31.           class libraries, or incorrect compiler settings.
  32. PAUSE
  33. GOTO END
  34. :RUN
  35. ECHO ***************************************************************************
  36. ECHO * About to Run HELLO1.EXE.                                                *
  37. ECHO * When Done - Close Window (from title bar icon) or press Alt-F4.         *
  38. ECHO * Enter Ctrl-Break to stop (abort) processing of this command file.       *
  39. ECHO ***************************************************************************
  40. PAUSE
  41. HELLO1
  42. :CLEANUP
  43. ECHO ***************************************************************************
  44. ECHO * About to clean up the files.                                            *
  45. ECHO * Enter Ctrl-Break to stop (abort) processing of this command file.       *
  46. ECHO ***************************************************************************
  47. PAUSE
  48. call cleanup1.cmd
  49. :END
  50.