Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!udel!rochester!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!kw1r+ From: kw1r+@andrew.cmu.edu (Kevin Whitley) Newsgroups: comp.sys.mac.programmer Subject: Re: Probably a simplistic question Message-ID: Date: 17 Sep 90 13:53:53 GMT Organization: Center for Design of Educational Computing, Carnegie Mellon, Pittsburgh, PA Lines: 14 This is straightforward. You can get the name of the application file with a call to GetAppParms. Tech note #77 (HFS Ruminations) says that, with HFS running, a call to GetVol, before you've made any SetVol calls, will return (in vRefNum) the working directory of your application's parent directory. With MFS running, the GetVol call will return the volume number of the application in vRefNum. Those together give you everything you need. Kevin Whitley kw1r@andrew.cmu.edu