in reply to Re^7: Need help deleting *.bak files
in thread Need help deleting *.bak files

"It would also be useful to say what failed" was a strange response to the code in a comment that provided that information in the form of filename and error code.

File names don't fail. You didn't specify which of the operations on the file name failed.