>Hi Boris --
>
>HOME() returns where VFP launched from.....CURDIR() is the current directory.
>
>>Hi All,
>>I must know where is my application is running from. What function (built in or Win32Api) I must call to find out the desire thing.
>> Thanks
I need to add one caveat. When the application loads, HOME() will givbe different values depending on whether it is run from within VFP or as an EXE. If the application is run within VFP (Do Myapp.EXE), HOME() will return the location of VFP.EXE. Otherwise, it will return the Windows\System directory.