Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cdirectory syntax
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00982057
Message ID:
00982060
Views:
42
This message has been marked as a message which has helped to the initial question of the thread.
>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.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform