Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!rpi!batcomputer!llenroc!cornell!vax5.cit.cornell.edu!u2zj From: u2zj@vax5.cit.cornell.edu Newsgroups: comp.sys.mac.programmer Subject: Getting Application's path Message-ID: <1991Mar15.200429.3417@vax5.cit.cornell.edu> Date: 16 Mar 91 00:04:29 GMT Distribution: comp Organization: CIT, Cornell University Lines: 12 I'm writing a CODE resource that is called by an application. My CODE has to open an existing resource file in the same folder as the calling application. I know the name of the resource file (eg "MyFile") but (I think) I need to append this to the full path (eg "Disk:Excel 3.0:") when I call OpenResFile(). Can someone tell me how to get the path name of the calling application's folder? Or is there some other way? Thanks, Stanton Loh u2zj@vax5.cit.cornell.edu