[comp.sys.mac.programmer] Poor Man's Search Path

jay@mitisft.Convergent.COM (Jay O'Conor) (12/26/88)

OK, there must be someone out there that knows something more about the 
"Poor Man's Search Path" than I've been able to find.  I've looked in IM Vol 4
and 5 and found nothing.  I've checked out Tech Note 69, 77, 101, and 214 and
the information there is insufficient.
Tech Note 77 gives the most info that I've been able to find, but it is far
from an exhaustive treatment of the subject.
CAN THE SEARCH PATH BE CHANGED!!!!!  Nothing addresses this question.  TN 77
states that the "default PMSP" searches the directory you specify (by WDRefNum
or pathname), then the directory specified by 'BootDrive', then finally the
'blessed folder'.  What are the rules on modifing 'BootDrive' in my app?  Will
MultiFinder maintain 'BootDrive' for me between switches?  Is there a better
method than modifing 'BootDrive'?
What I'd really like to do is write an INIT that would patch the Lauch trap to
look for a resource in the app that specifies a search path for this app.  This
would allow altering the search path for any app, not just one I write.
I'm tired of all these applications that require support files in the same
folder as the app or in the System Folder.  I'm tired of navigating file/folder
hierarchies to find the app I want to launch.

Any pmsp experts out there?

Jay O'Conor

leonardr@uxe.cso.uiuc.edu (12/27/88)

jay@mitisft.Convergent.COM(Jay O'Conor) writes in comp.sys.mac.programmer

>OK, there must be someone out there that knows something more about the 
>"Poor Man's Search Path" than I've been able to find.  I've looked in IM Vol 4
>and 5 and found nothing.  I've checked out Tech Note 69, 77, 101, and 214 and
>the information there is insufficient.
>Tech Note 77 gives the most info that I've been able to find, but it is far
>from an exhaustive treatment of the subject.
>CAN THE SEARCH PATH BE CHANGED!!!!!  Nothing addresses this question.  TN 77
>states that the "default PMSP" searches the directory you specify (by WDRefNum
>or pathname), then the directory specified by 'BootDrive', then finally the
>'blessed folder'.  What are the rules on modifing 'BootDrive' in my app?  Will
>MultiFinder maintain 'BootDrive' for me between switches?  Is there a better
>method than modifing 'BootDrive'?
>[more stuff here]
>
>Any pmsp experts out there?
>
	I would suggest getting in contact with Paul Snively of Icom Simulations.
He is the author of the Set Paths DA which does pretty much what you would like
to do.  You can reach him at ICOM at (312) 520-4443.


+---------------------------------+-----------------------------------+
+                                 +  Any thing I say may be taken as  +
+   Leonard Rosenthol             +  fact, then again you might decide+
+   President, LazerWare, inc.    +  that it really isn't, so you     +
+                                 +  never know, do you??             +
+   leonardr@uxe.cso.uiuc.edu     +                                   +
+   GEnie:  MACgician             +  MacNET: MACgician                +
+   Delphi: MACgician             +  AppleLink: D0025                 +
+                                 +                                   +
+---------------------------------+-----------------------------------+