Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retreive path one directory up
Message
De
13/04/2004 00:33:47
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00894269
Message ID:
00894309
Vues:
8
>I am trying to get the path of one directory up from my current path. If I issue ?FULLPATH(curdir()) then I get the following:
>
>
>H:\test1\test2\
>
>
>how can I get one directory up as follows:
>
>
>H:\test1\
>
Would FullPath("H:\test1\test2\..\") do? IOW, it's a one-liner:
?FullPath(Curdir()+"..\")

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform