Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!joyce!sri-unix!quintus!jabir From: jabir@quintus.uucp (Jabir Hussain) Newsgroups: comp.os.vms Subject: Re: Location Of a Running Program... Message-ID: <210@quintus.UUCP> Date: 30 Jul 88 01:03:00 GMT References: <8807271228.AA05585@ucbvax.berkeley.edu> Sender: news@quintus.UUCP Reply-To: jabir@quintus.UUCP (Jabir Hussain) Organization: Quintus Computer Systems, Inc. Lines: 5 argv[0] for C programs usually has the entire file spec of the image. I don't know where it gets it from, but if your HLL is C, you are all set. main(argc,argv) int argc; char *argv[]; { printf("%s\n", argv[0]); }