Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Folder Name
Message
De
03/02/2005 13:09:49
 
 
À
03/02/2005 12:13:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
00983436
Message ID:
00983559
Vues:
9
>>Hi all,
>>
>>I have cdir = "c:\Myapp\mydata\Bo\" and i want "bo".
>>
>>How can i do it ?
>>
>>thank in advance
>>
>>Bernhart
>
>
>cdir = juststem(JUSTpath("c:\Myapp\mydata\Bo\"))
>
Greg,

Whilst your solution _is_ correct in this case, you do realize that you make two dangerous assumptions

(1) You assume the arg ends with a backslash

(2) You assume that the foldername does not have an extension ( eg config.mso )
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform