How can I disable F8 Delete Confirmation

English support forum

Moderators: Hacker, petermad, Stefan2, white

Alya
Junior Member
Junior Member
Posts: 58
Joined: 2005-01-19, 02:41 UTC

How can I disable F8 Delete Confirmation

Post by *Alya »

When deleting files by F8, I constantly get delete confirmation dialog box.

How can I turn it off? I tried various settings under Options -> Misc, but they don't seem to apply to regular files
User avatar
Hacker
Moderator
Moderator
Posts: 13141
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

There is always at least one confirmation box for deleting, for security reasons. Imagine you want to create a dir using F7 and you accidentally hit F8, the cursor being eg on "Windows".

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
nevidimka
Senior Member
Senior Member
Posts: 385
Joined: 2004-06-20, 21:38 UTC

Post by *nevidimka »

There is a workaround in cooperation with M$ Explorer :D :P:
1st activate in TC menu Configuration - Options - Operation - Copy/Delete - Use Explorer delete method
2nd deactivate in M$ Explorer - Recycle bin - properties - Global - dialog for confirmation of deletion
(sorry, if the english text is different I don't use an english Windows XP)

Voilà!

plz see also this thread 1) confirmation messages / 2) faxviewer
The doorstep to the temple of wisdom is a knowledge of our own ignorance. Benjamin Franklin
Alya
Junior Member
Junior Member
Posts: 58
Joined: 2005-01-19, 02:41 UTC

Post by *Alya »

Hacker
I always delete to a Recycle Bin - I do not need a "confirmation" just to send a file to a recycle bin. I just read in other thread that that's because there is no way to reliably determine whether RecycleBin is enabled... So Explorer's delete method (which can skip confirmations) detects enabled RecycleBin?

nevidimka
Thank you :) That works - files go straight to Recycle Bin without confirmations. However, my long-term plan is to get rid of Windows Explorer altogether (once I find a good Desktop-replacement program, in addition to Total Commander). Is this "Explorer delete method" somehow dependent on Windows Explorer?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Is this "Explorer delete method" somehow dependent on Windows Explorer?
It uses the "Delete" verb from explorer's right click context menu. TC does not call Explorer for that, it uses OLE2 interfaces. I don't know whether these Shell interfaces still work or not when Explorer is removed...
Author of Total Commander
https://www.ghisler.com
Alya
Junior Member
Junior Member
Posts: 58
Joined: 2005-01-19, 02:41 UTC

Post by *Alya »

Thank you Mr. Ghisler
I guess I would just have to try it and see what happens.
User avatar
osm666
Junior Member
Junior Member
Posts: 10
Joined: 2005-01-28, 08:12 UTC
Location: Mexico
Contact:

Post by *osm666 »

i always use shift+supr, and then ENTER, for years. it's too dangeruos deleting without a warning!

But maybe in the future a nodelwarning=1 will be cool in the wincmd.ini in the future!
«Qool -=By ا/v\666=-'UltrA»
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

More and more I see responses to features or requests, where the answer is "its too dangerous" to let a user have that.
Personally I find that a bit galling.
Can someone come hold my hand so I don't hurt my computer please?

And setting the "explorer" delete method doesn't support descript.ion files.
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

The other problem w/ using "Explorer Method" delete, when you select a group of files in a large list, and choose delete. When the delete is done, the cursor jumps to the beginning of the list, or at the position the cursor was last at - ie if you can see 30 files, and the cursor was at position 25 - when the delete is done the cursor goes to position 25 - or onto the [..]

When you don't enable "Explorer Delete" the cursor will go to the next file after the last deleted -- as it should.
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

#1 Google search for: disable "delete confirmation" site:ghisler.ch

Heh. Guess I recently unclicked "explorer method" for Delete, and was looking for how to get rid of the pop-up. Appears there isn't any way if you are using TC Delete Method :/

You know a constant Pop-up for delete confirmation is as bad as Vista's much maligned [Allow] [Deny]. But it would appear that after all this time, its not going anywhere.

Even with an AHK fix, the onscreen flash popup is unnerving.

Code: Select all

Mbutton::
if GetKeyState("Shift") = 1
{
	Send {Delete}
}
else if GetKeyState("Ctrl") = 1
{
	Send {CTRL Up}+{Ins}{CTRL DownTemp}

}
else
{
	ifWinActive, ahk_class TTOTAL_CMD
	{
		Send {Delete}
		WinWait, ahk_class #32770
		ControlClick, &Yes
	}
	else
		Send {Delete}
}
return
ANd I just realized I can't use this. If so then the couple things I actually checkBoxed for confirmation will get autoconfirmed.

What is doubly odd about it, if TC Delete method is enabled, the exact same message is displayed for "Delete" and "Shift Delete" - which makes them seem like they do the same thing. Whereas one will go to Recycle and one gets fully deleted, and would need something like HandyRecovery.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Alya wrote:Thank you Mr. Ghisler
I guess I would just have to try it and see what happens.
If you disable Recycle bin confirmation and use explorer delete method, there will be no confirmation on delete operation.
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Sure, but explorer delete method is non-optimal if you use Junctions or descript.ion's.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
triplechoco
New Member
New Member
Posts: 1
Joined: 2009-07-24, 21:56 UTC

Post by *triplechoco »

thanks for this tip was very helpful!
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Well Microsoft must have fixed their handling of deletion of junctions behind my back. I've done a number of tests with Explorer Delete Method enabled (WIN2K)
1) Delete Junction
2) Delete Directory that contained a Junction

Both deletions only removed the proper files/folders. No directories referenced by the junction were deleted.

Interestingly, when the Files were restored from the RecycleBin, the Junctions were restored as Junctions.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Balderstrom wrote:Interestingly, when the Files were restored from the RecycleBin, the Junctions were restored as Junctions.
I think because Windows just moves deleted items to recycle folder and moves it back when restore, so junctions are kept. :)
Post Reply