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

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!mucs!m1!coxjp
  2. From: coxjp@cs.man.ac.uk (Jonathan Cox)
  3. Newsgroups: comp.sys.acorn.tech
  4. Subject: Find the root path under RiscOS 3.1
  5. Message-ID: <COXJP.92Dec15150754@beluga.cs.man.ac.uk>
  6. Date: 15 Dec 92 15:07:54 GMT
  7. Sender: news@cs.man.ac.uk
  8. Distribution: comp
  9. Organization: Department of Computer Science, University of Manchester
  10. Lines: 32
  11.  
  12. Some time ago somebody posted something about finding the URD or CSD from the
  13. fileswitch system variables under RiscOS 3.1.  It was something like:-
  14.  
  15. <FileSwitch$<FileSwitch$CurrentFilingSystem>$URD>
  16.  
  17. Now if you try to use this to set another system variable to the root path,
  18. with a command such as:-
  19.  
  20. set r <FileSwitch$CurrentFilingSystem>:<FileSwitch$<FileSwitch$CurrentFilingSystem>$URD>
  21.  
  22. you get
  23.  
  24. ADFS:$URD>
  25.  
  26. as GSTrans is not interpreting the nested angle brackets correctly.
  27.  
  28. The only solution I can come up with is:-
  29.  
  30. set r FileSwitch$<FileSwitch$CurrentFilingSystem>$URD
  31. seteval r <r>
  32. set r <FileSwitch$CurrentFilingSystem>:<r>
  33.  
  34. Is there a better way?
  35.  
  36. Jon.
  37.  
  38.  
  39. --
  40. Jonathan Cox.                              Email coxjp@cs.man.ac.uk
  41. IT 301, Department of Computer Science,
  42. University of Manchester,                  Tel: (+44) (0)61-275-6270
  43. Manchester.  M13 9PL.  England.            Fax: (+44) (0)61-275-6280
  44.