home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / programm / 17652 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  1.8 KB

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!Germany.EU.net!rrz.uni-koeln.de!not-for-mail
  2. From: ad010@rrz.uni-koeln.de (Wilhelm Stiefelhagen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: AmigaDos Assign command
  5. Message-ID: <1h4jsjINN1hkr@rs1.rrz.Uni-Koeln.DE>
  6. Date: 21 Dec 92 14:21:07 GMT
  7. References: <ianm.03r4@laghey.UUCP> <37922@cbmvax.commodore.com>
  8. Organization: Regional Computing Center, University of Cologne
  9. Lines: 36
  10. NNTP-Posting-Host: rs1.rrz.uni-koeln.de
  11.  
  12. In <37922@cbmvax.commodore.com> jesup@cbmvax.commodore.com (Randell Jesup) writes:
  13.  
  14. >ianm@laghey.UUCP (Ian Moran) writes:
  15. >>I have noticed strange behaviour with the 'assign' command under 2.04 and
  16. >>above. If I take advantage of the multiple assign facility thus :
  17. >>
  18. >> assign rexx: s: dh0:turbotext/rexx
  19. >>
  20. >>Then Arexx macros will not be located under Turbotext which is contrary to
  21. >>what I would expect, only s: is searched.
  22.  
  23. >    Instead of trying to Lock() or Open() "rexx:<file>", it's Lock()ing
  24. >rexx:, CurrentDir()ing to it, then trying to Open() <file>.  Lock() will
  25. >give you a lock on the first directory.  If searching for a specific item,
  26. >use AddPart() to build a full path first.
  27.  
  28. >>Also, why do few (if any) file requesters follow multiple assigned
  29. >>paths similar to the above. If I enter rexx: in the C= requester then I will
  30. >>get only the contents of s:
  31.  
  32. >    How I would handle doing something to each entry in an assign (multi-
  33. >assign or not): 
  34.  
  35. [stuff deleted]
  36.  
  37. I think there is a patch who gives you more comfort in using
  38. multiple assigns (I think the name was DosPatch, mail me, if you
  39. do not find it). When applieing this patch, a list command will
  40. show all assigned dirs and so on. (Without this patch, everytime you
  41. need access to all of the assigned dirs, you will have only
  42. access to the first one :-) )
  43.  
  44. Willi
  45. .
  46. -- 
  47. Wilhelm Stiefelhagen               ad010@rrz.uni-koeln.de
  48.