Delete multiple in Search-listbox
Moderators: Hacker, petermad, Stefan2, white
Delete multiple in Search-listbox
Suggestion:
After a search Alt-F7, you can feed the results to a listbox. Now I want to delete all results (directories). This can be done only one by one.
I would like to be able to delete them all at once. (Selecting multiple entries is possible, but not deleting. Context menu does not offer "delete".)
After a search Alt-F7, you can feed the results to a listbox. Now I want to delete all results (directories). This can be done only one by one.
I would like to be able to delete them all at once. (Selecting multiple entries is possible, but not deleting. Context menu does not offer "delete".)
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2Sugit
Context menu item could be useful BUT there is still Del key available. Why not using that?
And in the case you're using Function keys buttons (at the bottom of the screen): you can drop your folders on it too.
Context menu item could be useful BUT there is still Del key available. Why not using that?
And in the case you're using Function keys buttons (at the bottom of the screen): you can drop your folders on it too.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
Delete multiple in Search-listbox
My question is MULTIPLE delete. I already used the DEL key.
But sorry! I just found out that MULTIPLE delete is possible IF:
Configuration - Copy/Del - Use Explorer delete method
is NOT checked. I had it checked.
Is this a buglet or a neccesary feature?
But sorry! I just found out that MULTIPLE delete is possible IF:
Configuration - Copy/Del - Use Explorer delete method
is NOT checked. I had it checked.
Is this a buglet or a neccesary feature?
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
It is possible to delete when Explorer Method is enabled, the FeedToListBox just doesn't update. Closing the "Results:" Tab, and another Search will show those files are gone.
Yes, it is possible to delete, and behaviour is as described, but MULTIPLE delete is not possible (I think).Balderstrom wrote:It is possible to delete when Explorer Method is enabled, the FeedToListBox just doesn't update. Closing the "Results:" Tab, and another Search will show those files are gone.
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
Well I don't know how you are going about your deletions. But I know I have done multiple file deletes from a SearchResults listbox, selected with click + Shift + click, DELETE. or selected with click + ctrl + click + delete.
Both via Delete key, or the cm_Delete on the buttonbar - and explorer mode deletion enabled.
Both via Delete key, or the cm_Delete on the buttonbar - and explorer mode deletion enabled.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
Delete multiple in Search-listbox
OK, I have to be more specific. I see now that the problem I report is only present in certain situations. Normally, multiple delete is possible, Balderstrom is right.Balderstrom wrote:Well I don't know how you are going about your deletions. But I know I have done multiple file deletes from a SearchResults listbox, selected with click + Shift + click, DELETE. or selected with click + ctrl + click + delete.
Both via Delete key, or the cm_Delete on the buttonbar - and explorer mode deletion enabled.
I have a NAS (Netgear ReadyNAS) in the network.
In TC 7.04a
-- I search for ~NTIShadow on this NAS.
Result = 3 directories, with a names like:
\\Nas1\backup\Ws52\Bak_C\Data media\Adobe\Digital Camera Photos\2006-07-16-1140-51\~NTIShadow.
Feed to listbox, the 3 directories appear.
Select multiple
Now I select two or all three entries. Context menu now just shows 7 choices, NOT Delete, Cut or Copy.
Delete key has no effect at all.
(Selecting multiple entries in a normal file list is normal: Single or Multiple select and delete possible, no difference in the context menu.)
Select one
Select one entry, context menu: I get a long context menu, with 23 choices, among which Delete, Cut, Copy. Delete or key Delete indeed deletes the directory as expected and all messages are correct.
(But this shows a bug as described elesewhere: the entry remains selected in the list. Delete again has no effect and no messages.)
If you delete via the context menu, it is Explorer that does the deletion, and is Explorer that puts the "Delete..." item in the context menu, not TC.select one entry, context menu: I get a long context menu, with 23 choices, among which Delete, Cut, Copy.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
Now that might be something related to UNC pathing "\\"
With a regular C:\Foo\Path, delete key works on multiple selections (but with explorer delete method enabled, they aren't removed from the list)
I know, as I do 75%+ of my deletions from the middle-mouse button, which sends the "Delete" key to most apps.
With a regular C:\Foo\Path, delete key works on multiple selections (but with explorer delete method enabled, they aren't removed from the list)
I know, as I do 75%+ of my deletions from the middle-mouse button, which sends the "Delete" key to most apps.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
At least you found a inconsistency, if not a bug. Why can TC delete one file (with the Delete button) but not several in a search on a UNC-path?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Yes, that's correct - deleting via OLE2 doesn't seem to work when the files are from multiple UNC paths (I tried it), so TC only deletes one file in this case. If you use Windows Vista or 7, you may consider to use the Vista delete method, which is equally fast:
wincmd.ini [configuration] VistaDelete=1
You need to turn off the Explorer method then.
wincmd.ini [configuration] VistaDelete=1
You need to turn off the Explorer method then.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Since it is not fixed in TC 7.50rc1, maybe this should be moved to "Behaviour which will not be changed"
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar