Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get path to a directory
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00593473
Message ID:
00593481
Vues:
27
>Is there anyway to get the relative path to a specific directory? For instance Here is my directory structure (shortened version):
>
>\profiler
>\profiler\data
>\profiler\progs
>\profiler\progs\source
>
>etc...
>
>Now, if my app is called from another app, I need to find the relative path to the \profiler\progs subdirectory. The problem is that the progs directory could be under a different directory instead of \profiler. it could be like so:
>
>\pro32
>\pro32\data
>\pro32\progs
>\pro32\progs\source
>
>So if my current default directory is \pro32\data and I want to know how to get to \pro32\progs, the answer SHOULD be "..\progs." The subdirectory structure will always be the same, but the parent directory could change. Is there a function/way of doing this programmatically?
>
>TIA!
Tracy,

You might be able to do it with SYS(2014).
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform