I can't seem to get SHFileOperation to action files below the directory
which is passed over in the pFrom list.
Perhaps I have missunderstood the meaning of recursing the directories but I
assumed that if I create a list such as:
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.
JohnB
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi