Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get path from where executable file was started
Message
De
17/01/2000 12:40:21
Walter Meester
HoogkarspelPays-Bas
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00318165
Message ID:
00319065
Vues:
13
>For example I have sales.exe in directory x:\programs\sales\
>And I have created shortcut in user computer with
>"Target": x:\programs\sales\
>and
>"Start In": C:\Sales\
>
>When user runs that executable file CURDIR() will show "C:\Sales\", but how to get path of executable file (i.e. "x:\programs\sales\")?
>
>Thank You
>Giedrius

Giedrius and all,

There is a bad documented property which contains this information:
_VFP.Servername

This is particular handy when using com servers.

Walter,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform