>>>Dear visual FoxPro users
>>>
>>>I have created an EXE and the path to my directory where I have all my files isn't dynamic, so I have a problem if the user want to install my app in a different directory. How can I find the path to the EXE? I tried HOME(), but then I got the path to my system directory.
>>
>>Just a hint, but it makes life a lot easier if you force (nicely) users to all have exactly the same location...
>
>we make all paths relative to the exe directory. the user can install anywhere he wants, and in win95 can call from the 'menu' and everything works ok. advanced users can write their own shortcut to it...
That's my problem, how do I know the exe directory. When the user install my app, s/he can choose installation(exe) directory, but how do I set:
SET DEFAULT TO ????
SET PATH TO ????