Problem deleting files

Running Directory Opus, 9.5.5.0.3989.x64 on Windows 7 Ultimate.

I use Directory Opus to delete all files in a folder, a bit over 3,000 of them, and part way through I receive a message that one file cannot be deleted to the recycle bin, so I click skip file (meanwhile the delete has continued), and then I receive messages (for each file after the one that could not be deleted?) that the file location no longer exists.

Does the same happen in Explorer?

Deleting to the recycle bin uses the shell (Explorer) API as Windows doesn't provide any other way to do it, so if the problem happens in both programs it's probably not down to Opus. (If it only happens in Opus it could be, though.)

If you do a real delete, bypassing the recycle bin (which you can do in a default setup by holding shift when you delete) then Opus uses its own deletion routines which are usually more robust than the Windows recycle bin code (but obviously don't let you undo the delete).

[quote="leo"]Does the same happen in Explorer?[/quote]No, no error message is issued, the delete continues to the end.

[quote]Deleting to the recycle bin uses the shell (Explorer) API[/quote]Yes, but I think the APIs operate on a file by file basis so Opus would be handling each file, then using the API's to actually move to the recycle bin.

[quote]If you do a real delete[/quote]Just did this, strange, no message about the original file, but a whole lot of messages about "protected from deletion" which I assume means read only.

No, Opus calls the shell function with a list of files to delete, and the whole operation from then on is handled by Windows.

[quote="jon"][quote="Alycat"]No, Opus calls the shell function with a list of files to delete, and the whole operation from then on is handled by Windows.[/quote][/quote]Ok, strange that the two methods (Opus and IE) are different.

IE might be passing a flag to ignore the read-only attributes on files, perhaps.

Opus has an option the specifies whether or not to prompt when deleting read-only files (Preferences / File Operations / Deleting Files), although off the top of my head I am not sure whether or not it applies when using the Recycle Bin.