🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

What is my name?

#501
From: Mike (I'll think of something ye...
Date: Mon, 17 Jul 1989 09:12
13 lines
960 bytes
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).

	Thanx,
	<mike
--
And then I saw her...					Mike Meyer
She was a bright red '64 GTO				mwm@berkeley.edu
With fins and gills like some giant piranha fish,	ucbvax!mwm
Some obscene phallic symbol on wheels.			mwm@ucbjade.BITNET
Technical Details
Message-ID: <26385@agate.BERKELEY.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!agate!mica.berkeley.edu!mwm

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!agate!mica.berkeley.edu!mwm
From: mwm@mica.berkeley.edu (Mike (I'll think of something yet) Meyer)
Newsgroups: comp.sys.amiga.tech
Subject: What is my name?
Message-ID: <26385@agate.BERKELEY.EDU>
Date: 17 Jul 89 09:12:58 GMT
Sender: usenet@agate.BERKELEY.EDU
Reply-To: mwm@mica.berkeley.edu (Mike (I'll think of something yet) Meyer)
Organization: Missionaria Phonibalonica
Lines: 13