home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 19
/
AACD19.BIN
/
AACD
/
Online
/
SiteWay
/
Tools
/
Rexx
/
Save.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
2000-01-15
|
635b
|
28 lines
/* Save.rexx - © 1999 by Christian Effenberger */
/* **** Execute from SHELL or double click ICON ! ***** */
/* This Script speaks to the ARexx-Port 'SIMPLEED_AREXX.1' */
/* and sends the Command 'Save' with one Argument. */
/* Syntax: Save <FileName> */
/* Result: Error Value */
ADDRESS COMMAND 'WaitForPort SIMPLEED_AREXX.1'
IF (RC~=0) THEN DO
SAY "...could NOT find the ARexx port!"
EXIT
END
ELSE DO
ADDRESS 'SIMPLEED_AREXX.1'
OPTIONS RESULTS
'Save "ram:tmp.txt"'
IF (RC~=0) THEN DO
SAY "...could NOT execute the command!"
END
ELSE DO
SAY "...works fine!"
END
EXIT
END