TC7.5b4 deleting DIR
Moderators: Hacker, petermad, Stefan2, white
TC7.5b4 deleting DIR
Hi,
when I'm deleting a directory (e.g 5mb size) the CPU goes up to 70% and more and the RAM goes up till there is no more RAM available.
After deleting the DIRECTORY ist complete the resources (RAM/CPU) are still growing.
OS: Windows 7 RC german 64bit
CDI1965
when I'm deleting a directory (e.g 5mb size) the CPU goes up to 70% and more and the RAM goes up till there is no more RAM available.
After deleting the DIRECTORY ist complete the resources (RAM/CPU) are still growing.
OS: Windows 7 RC german 64bit
CDI1965
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This is unfortunately a known Vista/Windows bug, and there is no workaround. It happens because Total Commander is deleting each file individually (via SHFileOperation) to recycle bin. This is the ONLY way to find out whether a file really was deleted or not. Deleting all together to recycle bin doesn't return any information of which was deleted and which not, but this information is absolutely needed to delete comments or thumbnails belonging to the deleted file(s).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
What if just check existing files (non-deleted) after deleting "all together"? Or this even more slower?ghisler(Author) wrote:Deleting all together to recycle bin doesn't return any information of which was deleted and which not, but this information is absolutely needed to delete comments or thumbnails belonging to the deleted file(s).
Hi
I have seen the same problem on my system(Win7 64bit).
This makes Total Commander more or less unusable in windows 7. Total Commander consumes all memory until system falls over.
Are you working on a solution? Your software is allot better than what windows offers!
Keep up the good work! And please fix this soon:-)
/Johan
I have seen the same problem on my system(Win7 64bit).
This makes Total Commander more or less unusable in windows 7. Total Commander consumes all memory until system falls over.
Are you working on a solution? Your software is allot better than what windows offers!
Keep up the good work! And please fix this soon:-)
/Johan
Just add VistaDelete=1 to the [Configuration] section of your wincmd.ini file, restart and enjoy!TC7.5 Help 4.b wincmd.ini wrote:VistaDelete=0
;If =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, or non-empty directories, just like the Explorer! Do not use if you have manually disabled the recycle bin on certain drives!
Regards
Holger
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
Wouldn't it be better if there was at least one additional delete command? so that we could use TC Delete for most intents and purposes but choose the alternate behaviour in some cases?
cm_ExplorerDelete, if running vista equivalent to "VistaDelete=1" otherwise equivalent to checkboxing use Explorer Delete method in Config.
in addition to the already existing cm_Delete.
cm_ExplorerDelete, if running vista equivalent to "VistaDelete=1" otherwise equivalent to checkboxing use Explorer Delete method in Config.
in addition to the already existing cm_Delete.
You already have cm_ExplorerDelete, just open context menu and choose Delete.Balderstrom wrote:Wouldn't it be better if there was at least one additional delete command? so that we could use TC Delete for most intents and purposes but choose the alternate behaviour in some cases?
cm_ExplorerDelete, if running vista equivalent to "VistaDelete=1" otherwise equivalent to checkboxing use Explorer Delete method in Config.
in addition to the already existing cm_Delete.

- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
Context Menu is not something you can assign to a button or an internal HotKey.
And contextMenu availability of something is hardly a good response. TC has pack/unpack copy/paste and numerous other functions that are available via a context menu.
And contextMenu availability of something is hardly a good response. TC has pack/unpack copy/paste and numerous other functions that are available via a context menu.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Please right click on the F8 delete button and choose "Properties", then enable delete confirmation in the recycle bin. Why? TC disables the new faster delete method when delete confirmations are off. Unfortunately this is the default on Windows 8, so TC uses the old slow delete method on these systems.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
In TC 8.5, I will show my own delete confirmation dialog in this situation.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com