Path: utzoo!attcan!uunet!samsung!know!zaphod.mps.ohio-state.edu!rpi!julius.cs.uiuc.edu!apple!portal!sv!leonardr From: leonardr@svc.portal.com Newsgroups: comp.sys.mac.programmer Subject: Re: Probably a simplistic question, but I haven't seen the answer Message-ID: <1990Sep17.171658.18666@svc.portal.com> Date: 17 Sep 90 17:16:58 GMT References: <701@sun13.scri.fsu.edu> Distribution: comp Organization: Software Venture Lines: 13 In article <701@sun13.scri.fsu.edu> pepke@gw.scri.fsu.edu (Eric Pepke) writes: >The answer, at least, is simple. Don't use HFS calls. Use MFS calls. >The folder in which the application sits is in the Poor Man's Search Path. > An even easier approach, is to simply call GetVol which will give you the name and vRefNum of the current directory. Since it should be the same folder as the appl on a launch w/o documents, it will give you the info that you want. (NOTE: There are some INITs, such as DefaultD, which allow the user to change the default directory for appls, but any user which does this DESERVES what they get!) Leonard Rosenthol Software Ventures