>>thanks for this Yousfi. I will experiment with your solutions today and see how far I get. I definitely wanted to get away from the set defa to - I have gotten into a great many problems using that - when the programming starts to look for VFP commands in the wrong directory.
>
>Karen,
>
>instead of 'set defa to' you could also try to make use of set('path')
>
>Regards,
>
>Koen
Not in this specific case.