Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Curdir ()
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01331823
Message ID:
01331838
Views:
12
>= MESSAGEBOX(FULLPATH(" "))
>
>&& display: MFP-E2AEDFAF374\A1\GERA2\\anexos\
>
> = MESSAGEBOX(SYS(5))
>
>&& displays: MFP-E2AEDFAF374\A1\
>
>xPath = STRTRAN (FULLPATH(" "),SYS(5), " ")
>
>= MESSAGEBOX(xPath)
>
>&& displays: GERA2\\anexos\
>
>
>&&I would like to display:
>
>A1\GERA2\\anexos\
>
>(The whole path except the driver letter)

Try
xPath = STRTRAN (FULLPATH(" "),justpath(justpath(SYS(5))), " ")
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform