Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cdirectory syntax
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Divers
Thread ID:
00982057
Message ID:
00982066
Vues:
38
borislav,

The solution of gregory functions in all the situations.
"C:\Program Files\Bobtest\BO\" && OR "C:\Bobtest\BO\"
FUNCTION Test63()

cDir = "C:\Program Files\Bobtest\BO\" && "C:\Bobtest\BO\"

cvalue = addbs(justpath(justpath(addbs( cDir ))))

WAIT WINDOW cvalue
ENDFUNC
Thank

bernhart
>>Hi all,
>>
>>I have c:\Bob\01 or c:\Bob\01\ AND I want always
>>
>>C:\Bob\
>>
>>How can i do it ?
>>
>>thank in advance
>>
>>bernhart
>
>
>I am not sure if I understood Your question right, but what about:
>
>cBobDir = "c:\Bob\01"
>
>cCBob = LEFT(cBobDir,AT("\",cBobDir,2))
>
>But this will not work well if You use UNC names.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform