John Barrat wrote: > D:\MyDir\*.AAA#0D:\MyDir\*.BBB#0D:\MyDir\*.CCC#0#0 > > SHFileOperation will operate on all occurences of files with extension > AAA,BBB and CCC in the D:\MyDir and all subdirectories to D:\MyDir providing > I haven't set the FOF_NORECURSION flag. > > In practice all that is happening when I do a FO_DELETE is that files in the > directory D:\MyFile are deleted with the extensions AAA, BBB or CCC are > deleted but no files having the same extension in the lower directories are > touched.
My guess is that it's because you have no directories named x.aaa, for instance. Since it doesn't fit the patterns you've specified, it's ignored. -- Rob _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

