Hi Cetin
>You are not telling the type of the file. With a guess from the filename this would work:
Sorry my bad. This is a text file with a .rep extension. From the responses I have got I think I understand the logic now, the file to extract has to be in some kind of USE / OPEN to be copied
Thanks for your response.