Got it to work like this:
Do sleep 6
Until Exist("C:\directory") <> 0

Thanks for all your help.