🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #537

Re: What is my name?

#537
From: Jerry J Trantow
Date: Wed, 19 Jul 1989 18:46
8 lines
926 bytes
>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)
Technical Details
Message-ID: <3442@csd4.milw.wisc.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!trantow
References: <26385@agate.BERKELEY.EDU> <7330@ardent.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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