Confirm file delete

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Kalle
Junior Member
Junior Member
Posts: 14
Joined: 2023-01-16, 20:16 UTC

Confirm file delete

Post by *Kalle »

Hi forum

I try to get a confirm dialog on file delete, is it possible?
I tried to make a "deleteFiles=1" line under confirmations in wincmd.ini, but no success...
User avatar
beb
Power Member
Power Member
Posts: 579
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: Confirm file delete

Post by *beb »

2Kalle
wincmd.ini

Code: Select all

[Configuration]
VistaDelete=1|0|-1
Where:
1: Use new delete method of Windows Vista or later to delete files to recycle bin. Moves entire directories instead of individual files to recycle bin. Warning: This method doesn't warn about read only, hidden or system files, just like the Explorer!
0: Use old delete method (slow)
-1: Use new method if available, but show our own delete confirmation if it's disabled in Explorer.
Default value: VistaDelete=-1 under Windows Vista or newer, if the user hasn't disabled delete confirmation dialogs in Recycle bin properties, otherwise 0.
Warning:
--------------
This method doesn't warn about read only, hidden or system files, or non-empty directories, just like the Explorer! Do not use if you have manually disabled the recycle bin on certain drives!
Regarding Windows Explorer:
Right-click Recycle Bin, go to Properties, and make sure the Delete confirmation dialog checkbox is checked ☑.

NB wincmd.ini Confirmation section implies the following entries:

Code: Select all

[Configuration]
[Confirmation]
DeleteDirs=
OverwriteFiles=
OverwriteReadonly=
OverwriteHidSys=
OverwriteHidSysNotReadonly=
MouseActions=
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
Kalle
Junior Member
Junior Member
Posts: 14
Joined: 2023-01-16, 20:16 UTC

Re: Confirm file delete

Post by *Kalle »

BEB, thank you for a very useful and thorough answer :D
Post Reply