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 10:30:54
 
 
À
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:
00023358
Vues:
37
y0,

>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 ????

Try this:

SYS(5) + CURDIR()

I also use an .ini file that contains the path to the dir my tables are in. Each time my app starts, it checks for that .ini. If it isn't found, the user will be prompted to select the dir interactively and the new ini will be created.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform