Welcome! Log In Create A New Profile

Advanced

Finding directory

Posted by Andres Sanchez 
Andres Sanchez
Finding directory
April 10, 2008 02:29AM
Hi:

How can I obtain the directory from which the exe is being run ?

using Windev 11

Thanks
Andres Sanchez




Edited 1 time(s). Last edit at 04/10/2008 02:29AM by Andres Sanchez.
Paul Turner
Re: Finding directory
April 10, 2008 02:35AM
Hi Andres

Look up exeinfo() and fextractpath

Rgds
Paul
Andres Sanchez
Re: Finding directory
April 10, 2008 02:44AM
Thanks Paul

Andres Sanchez
Patrice Terrier
Re: Finding directory
April 11, 2008 01:34PM
// **********************************************
// Return qualified path matching the current EXE
// **********************************************
FUNCTION ExePath()
RESULT CompleteDir(fExeDir())
Andres Sanchez
Re: Finding directory
April 11, 2008 11:00PM
Thanks Patrice, this is a much direct way of getting it.

Andres Sanchez
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: