>= 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