Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!trantow From: trantow@csd4.milw.wisc.edu (Jerry J Trantow) Newsgroups: comp.sys.amiga.tech Subject: Re: What is my name? Message-ID: <3442@csd4.milw.wisc.edu> Date: 19 Jul 89 18:46:38 GMT References: <26385@agate.BERKELEY.EDU> <7330@ardent.UUCP> Sender: news@csd4.milw.wisc.edu Reply-To: trantow@csd4.milw.wisc.edu (Jerry J Trantow) Organization: University of Wisconsin-Milwaukee Lines: 8 >In article <26385@agate.BERKELEY.EDU> mwm@mica.berkeley.edu (Mike (I'll think of something yet) Meyer) writes: >>Before I sit down & write it myself, does anyone have a piece of code >>that will give me a full name for the binary it's running in? Not just >>argv[0], but the name path & file name (not file, but c:file, or >>sys:system/file, or whatever). Try the ARP PathName() function. I believe it is defined char *PathName(lock)