home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
cset21v1.zip
/
IBMCPP
/
SAMPLES
/
ICLUI
/
HELLO1
/
BUILD1.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-05-12
|
3KB
|
50 lines
@echo OFF
cls
ECHO ***************************************************************************
ECHO * HELLO WORLD SAMPLE PROGRAM - Version 1: Command File (BUILD1.CMD) *
ECHO * *
ECHO * COPYRIGHT: *
ECHO * ---------- *
ECHO * Copyright (C) International Business Machines Corp., 1992,1993. *
ECHO * *
ECHO * DISCLAIMER OF WARRANTIES: *
ECHO * ------------------------- *
ECHO * The following [enclosed] code is sample code created by IBM *
ECHO * Corporation. This sample code is not part of any standard IBM product *
ECHO * and is provided to you solely for the purpose of assisting you in the *
ECHO * development of your applications. The code is provided "AS IS", *
ECHO * without warranty of any kind. IBM shall not be liable for any damages *
ECHO * arising out of your use of the sample code, even if they have been *
ECHO * advised of the possibility of such damages. *
ECHO *-------------------------------------------------------------------------*
ECHO * *
ECHO * About to Call AMAKE1.CMD to create (compile, link, and so forth) *
ECHO * HELLO1.EXE. *
ECHO * Enter Ctrl-Break to stop (abort) processing of this command file. *
ECHO ***************************************************************************
PAUSE
call amake1.cmd
IF NOT ERRORLEVEL 1 GOTO RUN
ERROR: Failed to create HELLO1.EXE
REMEDY: Make sure that you have installed the correct components and try again.
Most likely problems: Incorrect LIB path, incorrect installation of
class libraries, or incorrect compiler settings.
PAUSE
GOTO END
:RUN
ECHO ***************************************************************************
ECHO * About to Run HELLO1.EXE. *
ECHO * When Done - Close Window (from title bar icon) or press Alt-F4. *
ECHO * Enter Ctrl-Break to stop (abort) processing of this command file. *
ECHO ***************************************************************************
PAUSE
HELLO1
:CLEANUP
ECHO ***************************************************************************
ECHO * About to clean up the files. *
ECHO * Enter Ctrl-Break to stop (abort) processing of this command file. *
ECHO ***************************************************************************
PAUSE
call cleanup1.cmd
:END