Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple Command (I think)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00534995
Message ID:
00535013
Vues:
14
Hi!
For compiled EXE my answer is:
Declare String GetCommandLine in Win32API
? JustPath(GetCommandLine())
>How do I find out progamatically what the full path (drive letter/share + directory path) for a given program from within itself?
>I'd like to do this so if I write a program, it sets it's default directory to it's own path, opens a table that has path variables for a number of different files it will be using on different parts of the network, without the need for hard wiring the original default directory in it's own path. That way, I can move it to another path without worrying about having to re-hardwire it every time I move it.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform