Hi guys,

Is it possible to have SHFileOperation *continue* to copy files even if it encounters a file it cannot copy?

Quite often, I find it necessary to copy the contents of a user's hard drive to my server, wipe the hard drive and re-install the OS. (PC rebuild situation).

However, when using Explorer's Copy/Paste, if it hits those **** temporary Internet files, a file with an invalid format, etc the copy operation stops. This means I have to find the offending file, delete it, and do the entire copy opration again! (And we're talking 2Gb - 30Gb of user files!)

I have been working on a copy program that WILL copy all files but, unless SHFileOperation supports a flag that says something like "NoAbortOnFailedFileCopy", I'll have to use something else, like FindFirst/FindNext.

Thoughts? Demo code?

Thanks,

Mark