>>UPDATE. Disregard. Firt of all, I was using incorrect path, secondly, I should just specify destination dir without file mask...
>>
>>Hi Cetin,
>>
>>I'm trying this command ?CopyFiles("c:\redp\dataentry\Data\Upload\c*.zip","c:\redp\dataentry\Data\Archive\c*.zip") (where CopyFiles is a wrapper to ShFileOperation - from Ed's FAQ) and it's failing with Cannot copy file - File system error (1026). So, are you advocating against this function? Should I check other alternatives?
>>
>>I have Windows 98. Seems to be failing to my colleague as well.
>>
>Nadya,
>
>It should work provided you're not using Unicode on the computer. The function is supported under versions of Shell32.dll 4.0 and greater.
Once I removed mask from destination directory and corrected paths, it worked.
Thanks.
If it's not broken, fix it until it is.
My Blog