home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!uwm.edu!ux1.cso.uiuc.edu!bradley.bradley.edu!camelot!widow
- From: widow@camelot.bradley.edu (Shaun Burnett)
- Newsgroups: comp.os.os2.programmer
- Subject: Command in REXX to execute the text in a variable?
- Message-ID: <widow.722104795@camelot>
- Date: 18 Nov 92 16:39:55 GMT
- Article-I.D.: camelot.widow.722104795
- Sender: news@bradley.bradley.edu
- Distribution: usa
- Organization: Bradley University
- Lines: 27
-
-
- I'm writing a REXX .CMD file where I'm concatenating strings
- together to get a file name. I then put the name of the
- program to execute in another variable. What I would like to
- do is have the program execute with the file name variable as
- a parameter.
-
- So ...
-
- Filename='f:\utils\unzip -v '
- Program='g:\aoc.zip'
- xxxxx Program,Filename
-
- where xxxxx is a command that would pass "f:\utils\unzip -v
- g:\aoc.zip" to an environment shell (DOS or OS/2).
-
- Any help would be greatly appreciated. I haven't found a
- "quick reference" that describes all the commands on one page,
- and it's a pain to have to look at the descriptions of
- commands one by one.
-
- Thanks.
-
-
- Shaun Burnett | "You can't survive on a new planet with a
- widow@camelot.bradley.edu | soul full of hope and fresh air you know."
- OS/2--Happy Happy Joy Joy--OS/2 - Dr. Who (Tom Baker)
-