Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!uunet!lll-winken!sun-barr!newstop!texsun!texbell!sugar!peter From: peter@sugar.hackercorp.com (Peter da Silva) Newsgroups: comp.sys.amiga.tech Subject: Re: Want multiple default directories Message-ID: <4227@sugar.hackercorp.com> Date: 27 Sep 89 11:00:28 GMT References: <1153@orbit.UUCP> Organization: Sugar Land Unix - Houston Lines: 16 In article <1153@orbit.UUCP>, glamdrng@pnet51.orb.mn.org (Rocky Lhotka) writes: > program be much easier (nicer for a non-techie user) if you could just move > the drawer icon to your hard drive or whereever and run the program, the > program of course can get the pathname under which it was run and thereby can > automatically find it's config and data files? That's the way it works for the workbench. sm_Args[0] contains the name of the program and a lock on the directory it lives in. In many ways the workbench environment is MUCH nicer, and certainly better documented, than the CLI. -- Peter "Have you hugged your wolf today" da Silva `-_-' ...texbell!sugar!peter, or peter@sugar.hackercorp.com 'U` "before making up your mind, please read the book." -- sherry.mann "This is contrary to the spirit of rec.arts.sf-lovers" -- Jim Winer