Xref: utzoo comp.sys.amiga:33112 comp.sys.amiga.tech:4910 Path: utzoo!utgpu!watmath!watcgl!bmacintyre From: bmacintyre@watcgl.waterloo.edu (Blair MacIntyre) Newsgroups: comp.sys.amiga,comp.sys.amiga.tech Subject: ARexx question Message-ID: <9479@watcgl.waterloo.edu> Date: 2 May 89 13:40:05 GMT Reply-To: bmacintyre@watcgl.waterloo.edu (Blair MacIntyre) Distribution: na Organization: UofW Computer Graphics Lab Lines: 32 Ok, heres a simple(?) ARexx question: How can I get the output of a DOS program, say date or "ls -l fred", etc. into a variable inside of an ARexx program? I couldn't find anything skimming through the manual, so the closest I could get was something like: date ">pipe:date" call open mydate,"pipe:date",read datestr = read(mydate) call close mydate which seems very round about, to me anyway. What I am trying to do is modify Archie.rexx to behave like the temporary backup deamon on Unix - I want it to create a directory for each file ( no problem ) and store modifications in it with the filenames being the timestamp it was changed at. Speaking of which, does anyone have ( or know where I can get ) some more Rexx scripts? Mostly for learning/modifying ... not BIX please, I have no access to that! Thanx, Blair, slowing dwindling to being just another Amiga "user" ( I wish I had a project on my Amiga ... sigh ) -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-///-= = Blair MacIntyre, bmacintyre@watcgl.{waterloo.edu, UWaterloo.ca} \\\/// = = now appearing at the Computer Graphics Lab, U of Waterloo! \XX/ = = "Don't be mean ... remember, no matter where you go, there you are." BBanzai=