Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find the path to the EXE?
Message
De
07/03/1997 09:26:33
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00023277
Message ID:
00023330
Vues:
35
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform