To Recycle?

Working on the next release of DeleteThem.

I’m convinced that I need to use a Recycle Bin kind of functionality.

However, the current code (thanks Roel for pointing me in the right direction) uses SHFileOperation, and it is SLOW. Take out the "Undo" flag, which of course is the "send to Recycle Bin" stuff, and bam, fast again.

So I’m not sure what to do.

Do I go with the slow but safe option?

Do I go with the fast but scary option?

Or, the third option, can I somehow create a cool Recycle Bin functionality of my own that combines Safety AND Speed. Hmmm. Interesting.

Leave a Reply

Your email address will not be published. Required fields are marked *