Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!csd4.milw.wisc.edu!leah!rpi!batcomputer!cornell!calvin!richard From: richard@calvin.EE.CORNELL.EDU (Richard Brittain) Newsgroups: comp.sys.ibm.pc Subject: Re: How do you find out a program name (argv[0]) in DOS Message-ID: <1148@calvin.EE.CORNELL.EDU> Date: 6 Jul 89 20:27:03 GMT References: <1147@calvin.EE.CORNELL.EDU> Reply-To: richard@calvin.spp.cornell.edu (Richard Brittain) Distribution: comp Organization: Cornell Space Plasma Physics Group Lines: 5 Many thanks to all who replied to me on this. It seems that you cannot get to the program name in Turbo-C by following the environ[] pointers, but it worked just fine if you go directly from the _psp variable. Richard Brittain