>Nadya,
>
>You lost me here. Do you still have a problem? If you do, what is it?
>
Hi again,
I found, that the original code works fine as long as I use MyDir as a destination string and not MyDir\MyFile.* as I tried to use before. The code, you gave me, didn't work in this context.
So, the problem is resolved for now...
>>May be it depends on how cSource and cDestination are defined? In the sample, I tried, I use:
>>c:\DataEntry\*.* and c:\MyNewDir It works with the original code. Once I changed my real code to destination equals to the directory name, it also worked...
>>
>>I have no other ideas...
>>
If it's not broken, fix it until it is.
My Blog