To: olly AT mantis DOT co DOT uk (Olly Betts) Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Getting a path in argv[0] Date: Fri, 02 Dec 94 13:08:34 +0200 From: "Eli Zaretskii" > DJGPP seems to just give the leaf-name of the executable in argv[0], > rather than the executable path as DOS compilers seem to. I suppose > this follows the UNIX style, but I have a program which uses the path > on argv[0] to find support files. Are you sure this is always the case? At my place, I have the full path, as expected. And under DOS, this shouldn't depend on the shell you are using, as it is under Unix, right? But all the same: which shell do you use?