Message-Id: <370E5620.B8C3AFCA@cableol.co.uk> Date: Fri, 09 Apr 1999 20:33:52 +0100 From: Allens X-Mailer: Mozilla 4.04 [en] (Win95; I) Mime-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: which function can return the directory of the .exe ? References: <7elgcd$4bv$1 AT wanadoo DOT fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com AFAIK theres no function, but the complete path (including the name of the program) is held in argv[0]. Peter Allen CORNU.Nicolas wrote: > > i need the name of the function which return > the directory of the apllication: .exe > > thanks > > -- > CORNU Nicolas > E-mail: CORNU DOT Nicolas AT wanadoo DOT fr > ICQ: 31463000 > Homepage: http://perso.wanadoo.fr/nicolas.cornu/Index.htm