Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!ucsd!sdcsvax!ucsdhub!hp-sdd!hplabs!hpda!hpclla!hpcllf!jws From: jws@hpcllf.HP.COM (John Stafford) Newsgroups: comp.unix.questions Subject: Re: How does a program get its path name? Message-ID: <4210002@hpcllf.HP.COM> Date: 23 Feb 88 02:19:41 GMT References: <11923@brl-adm.ARPA> Organization: Hewlett-Packard Computer Language Lab Lines: 1 The name a program was invoked under is in argv[0]; that may (or more likely may not) contain the "full" path name.