Page 1 of 1

it does not always work if I want to delete a lot of files

Posted: Wed Dec 26, 2018 8:35 am
by Debugger
1. it does not always work if I want to delete a lot of files SHIFT + DEL
Example: 150000 small files.

2. it works always SHIFT + DELETE(Contex Menu) This method was proposed by my friend, but he did not explain why in this case he always works the first time.


Why?

Re: it does not always work if I want to delete a lot of files

Posted: Wed Dec 26, 2018 10:45 am
by void
It's a limitation with Everything and an old Windows API to delete files.

If one file fails to delete, then the whole delete operation is aborted (silently).

The next version of Everything will use a newer delete API (if available), which will not abort the deletion on a single failure.
The failure is also reported and the user is given an option to retry/skip/cancel the current operation.

The context menu and DEL will both end up down the same code path.
Both will check each file to be deleted actually exists before the old delete API is called, improving the odds that the operation will not be aborted.

It is most likely a file was deleted or renamed before the delete operation began.

Re: it does not always work if I want to delete a lot of files

Posted: Thu Dec 27, 2018 11:45 am
by Debugger
I'm pressing the SHIFT key and the DEL key, but instead of permanently deleting it, I get information about moving to the recyclebin.