home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / acorn / tech / 1051 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  945 b 

  1. Path: sparky!uunet!mcsun!uknet!pcl!gpcec
  2. From: gpcec@westminster.ac.uk (Tom Kirby-Green)
  3. Newsgroups: comp.sys.acorn.tech
  4. Subject: Reading !Run vars
  5. Message-ID: <1992Dec16.185334.11229@westminster.ac.uk>
  6. Date: 16 Dec 92 18:53:34 GMT
  7. Organization: University of Westminster
  8. Lines: 15
  9.  
  10. Hi quick question...
  11.     What the best method of getting hold of a Application's Obey dir'.
  12. I'm using Desktop C - so basically I need the path that resspr etc uses
  13. to find its resources. At the mo. I'm launching the file with the usual
  14. !Run, but with the ugly line...
  15.  
  16.     Run <CADshell$Dir>.!RunImage "<CADshell$Dir>"
  17.  
  18.     Then using argv [1] to pick it up - theres gotta be a better way ;-)
  19.  
  20.         Thanks in advance - J.T.T.B. Tom.
  21. -- 
  22. /---| The University of Westminster : BSc Computer Science. Hons, Year 3 |---\
  23. | Tom Kirby-Green            Email : gpcec@sun.pcl.ac.uk  or  Silence@Arcade |
  24. \----------| "Merry XMas to all, and a Windows(tm) free new year". |---------/
  25.