I agree. I forgot the condition to end the loop.
>Hilmar i think your code for retry will be etarnal
>should be like this
>
>local llError
>on error llError = .T.
>do while .T.
> llError = .F.
> copy file aaa to bbb
> if llError and MessageBox("Error copying file. Do you want to retry?") = ID_YES
> loop
> endif
> exit
>enddo
>
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)