home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / igpb1.zip / BUILD4.CMD < prev    next >
OS/2 REXX Batch file  |  1993-05-12  |  3KB  |  49 lines

  1. @echo OFF
  2. cls
  3. ECHO ***************************************************************************
  4. ECHO * HELLO WORLD SAMPLE PROGRAM - Version 4: Command File (BUILD4.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 AMAKE4.CMD to create (compile, link etc) HELLO4.EXE       *
  22. ECHO * Enter Ctrl-Break to stop (abort) processing of this command file        *
  23. ECHO ***************************************************************************
  24. PAUSE
  25. call amake4.cmd
  26. IF NOT ERRORLEVEL 1 GOTO RUN
  27. ERROR:  Failed to create HELLO4.EXE
  28. REMEDY: Make sure that you have installed the correct components and try again.
  29.         Most likely problems: Incorrect LIB path or incorrect install of
  30.           Class Libraries or incorrect compiler settings.
  31. PAUSE
  32. GOTO END
  33. :RUN
  34. ECHO ***************************************************************************
  35. ECHO * About to Run HELLO4.EXE                                                 *
  36. ECHO * When Done - Close Window (from Title Bar ICON) or Alt-F4                *
  37. ECHO * Enter Ctrl-Break to stop (abort) processing of this command file        *
  38. ECHO ***************************************************************************
  39. PAUSE
  40. HELLO4
  41. :CLEANUP
  42. ECHO ***************************************************************************
  43. ECHO * About to Clean up files                                                 *
  44. ECHO * Enter Ctrl-Break to stop (abort) processing of this command file        *
  45. ECHO ***************************************************************************
  46. PAUSE
  47. call cleanup4.cmd
  48. :END
  49.