Add confirmation for delete

Discussion related to "Everything" 1.5.
Post Reply
err_24546
Posts: 79
Joined: Wed Oct 11, 2023 1:47 am

Add confirmation for delete

Post by err_24546 »

Could you consider adding a confirmation to delete files when pressing the Delete button?
Thanks for you consideration!
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: Add confirmation for delete

Post by NotNull »

Everything uses the Windows functions to delete files.
You can configure Windows to ask for confirmation when deleting files:

- Right-click the Recycle bin icon
- Select Properties
- Check Display delete confirmation dialog
- Press OK

From now on, confirmation will be asked before deleting files/folders to the recycle bin.


Note that on filesystems without recycle bin (like Fat32) a delete confirmation dialog will be shown anyway as this will be a permanent deletion without option to restore it from the recycle bin. Same goes for 'SHIFT+ delete'
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Add confirmation for delete

Post by void »

I wish there was an option to override this setting.

To undelete a deleted file:
  • In Everything 1.5, from the Edit menu, click Undo.
To view all deletions:
  • In Everything 1.5, from the Edit menu, click Undo History.
  • Select an older action or select multiple actions and click Undo.
4rF3tk
Posts: 17
Joined: Wed Jul 12, 2023 5:39 am

Re: Add confirmation for delete

Post by 4rF3tk »

void wrote: Fri Nov 17, 2023 12:46 am I wish there was an option to override this setting.

To undelete a deleted file:
  • In Everything 1.5, from the Edit menu, click Undo.
To view all deletions:
  • In Everything 1.5, from the Edit menu, click Undo History.
  • Select an older action or select multiple actions and click Undo.
For files from Windows shares, a confirmation dialog still appears during deletion even if "Display delete confirmation dialog" is unchecked. I would prefer not to see this dialog. Could you consider adding a setting in future releases to disable the confirmation dialog?
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Add confirmation for delete

Post by void »

To prevent the confirmation dialog:
  • Exit Everything (File -> Exit)
  • From the Start menu, search for:
    notepad
  • Right click Notepad and click Run as administrator.
  • In Notepad, open the Everything.ini (Everything-1.5a.ini for the alpha version) in the same location as your Everything.exe
  • Change the following line:
    search_command_allow_all=0

    to:
    search_command_allow_all=1
  • Save changes and restart Everything.
  • From the Bookmarks menu, click Add to Bookmarks....
  • Change the Name to:
    Silent Delete
  • Change the Search to:
    /delete /silent
  • Change the Keyboard Shortcut to:
    Del
  • Click OK.
  • Press Del to delete selected files without a prompt.


Allow All Search Commands
/delete /silent
Post Reply