John Barrat wrote:
> That's not the problem, the file extensions (not directories) I submitted
> did exist.

That's not what I said. I said that since you have no directory named 
x.aaa, then ShFileOperation ignores that directory because it does not 
fit your requested naming pattern. (Directory names can have dots in 
them.) It doesn't matter what you have in the directory if the entire 
thing is going to be ignored before looking inside.

As I said, that's my first guess.

> I think the only way it will recurse is if you actually want to delete
> directories which are not empty.  As it was, I wanted to delete specific
> file types in all the sub directories.
> I have now done the recursing myself and send an explicit list of all
> directories and the file types I wish to delete and it all works.

Right. I thought that's what you had done all along. Back when you asked 
whether there was something built-in for searching subdirectories, or 
whether you should continue with your FindFirst and FindNext code.

-- 
Rob
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to