Thanks, Ed,
I have your code as well as an earlier thread on the subject.
Barbara
>You might want to investigate SHFileOperation() as an alternative; it lets you build an explicit list of things to delete into a double-null terminated list, which can then be operated against in a single API call. I have code posted in the API section dealing with copying - deletion uses the same double-null terminated list of file specs, but a different function code.
>