Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find the path to the EXE?
Message
De
17/03/1997 03:30:08
 
 
À
07/03/1997 05:38:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00023277
Message ID:
00024490
Vues:
37
>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.

I search for the .exe and try to open it for writing. fopen() will fail if the copy of the .exe is currently running. I check for the default path on all volumes first as scanning large volumes can take a while.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform