Hi Viv,
AFAIK, the result returned by the SYS(2023) function is inconsistent. It may return a long or short path.
>Hi All,
>
>I've just noticed the SYS(2023) (alone amongst similar SYS() functions as far as I can tell) returns the DOS shortpath name.
>
>No big deal - I can use the API GetLongPathName()on it - but I don't see this documented anywhere ?
>
>Regards,
>
--sb--