Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find the path to the EXE?
Message
From
07/03/1997 09:26:33
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00023277
Message ID:
00023330
Views:
30
>>>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 ????
Best regards
Niklas Fjellman

E-mail: niklas.fjellman@adb-kontoret.goteborg.se
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform