home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / programm / 6524 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  1.3 KB

  1. Path: sparky!uunet!ogicse!uwm.edu!ux1.cso.uiuc.edu!bradley.bradley.edu!camelot!widow
  2. From: widow@camelot.bradley.edu (Shaun Burnett)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Command in REXX to execute the text in a variable?
  5. Message-ID: <widow.722104795@camelot>
  6. Date: 18 Nov 92 16:39:55 GMT
  7. Article-I.D.: camelot.widow.722104795
  8. Sender: news@bradley.bradley.edu
  9. Distribution: usa
  10. Organization: Bradley University
  11. Lines: 27
  12.  
  13.  
  14.     I'm writing a REXX .CMD file where I'm concatenating strings
  15.     together to get a file name.  I then put the name of the
  16.     program to execute in another variable.  What I would like to
  17.     do is have the program execute with the file name variable as
  18.     a parameter.
  19.  
  20.     So ...
  21.  
  22.     Filename='f:\utils\unzip -v '
  23.     Program='g:\aoc.zip'
  24.     xxxxx Program,Filename
  25.  
  26.     where xxxxx is a command that would pass "f:\utils\unzip -v
  27.     g:\aoc.zip" to an environment shell (DOS or OS/2).
  28.  
  29.     Any help would be greatly appreciated.  I haven't found a
  30.     "quick reference" that describes all the commands on one page,
  31.     and it's a pain to have to look at the descriptions of
  32.     commands one by one.
  33.  
  34.     Thanks.
  35.  
  36.  
  37. Shaun Burnett            |    "You can't survive on a new planet with a
  38. widow@camelot.bradley.edu   |    soul full of hope and fresh air you know."
  39. OS/2--Happy Happy Joy Joy--OS/2        -  Dr. Who (Tom Baker)
  40.