Skip Files in Use when Deleting

When I select a bunch of files (say in the TEMP directory) and I hit Delete, it will sometimes Fail because a file is in use. I would like an option to have it ignore that file and just keep deleting.

It's very annoying trying to delete a bunch of files and having to start again and guess which files are in use and which ones are not.

Hold down shift, or turn off the recycle bin in Preferences, when deleting and you gain the ability to skip files that cannot be deleted.

When deleting to the recycle bin the operation is handled by Windows and the error handling is rubbish because the recyclebin API doesn't provide a way to find out which files failed.

When really deleting (i.e. not to the recycle bin), Opus handles everything itself and provides proper error handling.

Thanks, I see the point, but just a question/idea:

Wouldn't it be possible for DOpus to move the files to the recycle bin itself? Or to check which files are deletable, before sending the delete command to the system (this would at least minimize the bad Windows error handling to the seldom cases when a file becomes locked between the DOpus check and the Windows delete attempt)

The recycle bin format is not documented, and so the only way to move files to the recycle bin is to use the Windows API, which has the above-mentioned problems.

The only reliable way that I know of to check if a file can be deleted is to actually try deleting it :slight_smile: