Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!tnc!m0154 From: m0154@tnc.UUCP (GUY GARNETT) Newsgroups: comp.sys.amiga.misc Subject: Re: Three (dumb) questions Message-ID: <762@tnc.UUCP> Date: 22 Mar 91 15:28:18 GMT References: <11280@jarthur.Claremont.EDU> Reply-To: m0154@tnc.UUCP (GUY GARNETT) Organization: The Next Challenge, Fairfax, Va. Lines: 44 In article <11280@jarthur.Claremont.EDU> drichard@jarthur.Claremont.EDU (David Richards) writes: >Second, is it possible to assign a logical device name (like fonts:) to >more than one directory. I know that in VMS this is possible and it would >be very useful in a situation I am working on with my Amiga. If it is >possible, what is the syntax? > >Thanks, >Dave >drichard@jarthur.claremont.edu >drichards@hmcvax.claremont.edu Assigning a logical directory to a path list of real directories is not supported under "vanilla" AmigaDOS. *HOWEVER* If you buy a copy of WSHELL (from William Hawes, the creator of ConMan and ARexx), included on the disk is something called PathMan. It allows you to create named paths for just about anything. With PathMan, you could do something like FILENOTE PATH:Sys:Fonts,JRComm:JRFonts,Foo:Bar/NewFonts "FontPath" (that should assign the note FontPath to a "file" actually a path managed by PathMan containing the Path:... stuff. PathMan "inverts" the file note, so that FontPath becomes the name of the path). ASSIGN FONTS: PATH:FontPath (this will assign Fonts: to the path. Whenever something refers to FONTS:, AmigaDOS will direct it to PathMan, which will search the directories listed in the path definition). LIST PATH: (this will display all of the currently defined paths) And whenever something searched Fonts:, PathMan would search all of the volumes and directories listed (twice: the first time it would search only the ones that were mounted, and suppress requestors. If the file was still not found, then it would search again, this time putting up requestors for any volumes which were not mounted. If you are using Arexx, take a look at WShell. If you are not using Arexx, then think seriously about getting both. Wildstar PS: I just got WShell in the mail the other day, and so I haven't tried this yet, but it is all in the manual ...