Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!ll-xn!mit-eddie!uw-beaver!cornell!batcomputer!itsgw!imagine!pawl11.pawl.rpi.edu!jesup From: jesup@pawl11.pawl.rpi.edu (Randell E. Jesup) Newsgroups: comp.sys.amiga Subject: Re: The 1001 Paths Message-ID: <582@imagine.PAWL.RPI.EDU> Date: 25 Mar 88 05:47:56 GMT References: <4587@garfield.UUCP> <5489@well.UUCP> <850@nuchat.UUCP> Sender: news@imagine.PAWL.RPI.EDU Reply-To: beowulf!lunge!jesup@steinmetz.UUCP Organization: RPI Public Access Workstation Lab - Troy, NY Lines: 35 Keywords: open In article <850@nuchat.UUCP> peter@nuchat.UUCP (Peter da Silva) writes: >1> mount PATH: >1> Assign C: PATH:df0:c!df1:c!ram:c >1> list c: >Directory "c:" on Thursday 23-Mar-00 >df0:c Dir rwed Tuesday 06:19:29 >df1:c Dir rwed Tuesday 06:19:29 >ram:c Dir rwed Tuesday 06:19:29 >3 directories - 1 block used >1> assign >... >c PATH:df0:c!df1:c!ram:c >... >1> Assign include: PATH:df0:include!vd0:include!Aztec:include >1> set INCLUDE=include: What happens when someone opens c:filename for write if a) it exists in one of the directories, b) exists in more than one, c) exists in none? What does one get back when one Examine()s the result of Lock("c:",...)? Or when one ExNext()s it? Sorry, I'm afraid this will remain a fantasy. Why not just use shell variables? List won't find them, but then again list wouldn't produce the output you showed anyway. It would be twit to write a routine to a) get the shell var, b) try to open the file in each of the directories in turn. If you do, then post it to the net (if it's done nicely.) // Randell Jesup Lunge Software Development // Dedicated Amiga Programmer 13 Frear Ave, Troy, NY 12180 \\// beowulf!lunge!jesup@steinmetz.UUCP (518) 272-2942 \/ (uunet!steinmetz!beowulf!lunge!jesup) BIX: rjesup (-: The Few, The Proud, The Architects of the RPM40 40MIPS CMOS Micro :-)