[FYI] Eliminating the delay when deleting in-use files/dirs
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50861
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Hey, here I am (finally)!
OK, it took a bit longer to analyze the problem in a debugger. I found out that TC indeed calls SHFileOperation twice when encountering a delete error, because the sharing violation isn't correctly detected. I will correct this in TC 7, maybe even in a TC 6.55. Sorry to those who had problems with it! I never had this problem because there is no such 5 (or 10) second delay on Windows 2000.
OK, it took a bit longer to analyze the problem in a debugger. I found out that TC indeed calls SHFileOperation twice when encountering a delete error, because the sharing violation isn't correctly detected. I will correct this in TC 7, maybe even in a TC 6.55. Sorry to those who had problems with it! I never had this problem because there is no such 5 (or 10) second delay on Windows 2000.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2ghisler(Author)
These are really good news.

Thank you Bill
These are really good news.

Please no 6.55I will correct this in TC 7, maybe even in a TC 6.55.

Oh no not just another operating system versions dependent behavior. I can confirm that it really doesn't seem to happen on Windows 2000 but on XPI never had this problem because there is no such 5 (or 10) second delay on Windows 2000.
Thank you Bill

Even now found sime time to play with it, but couldn find those string in the shell32.dll.icfu wrote:I have successfully patched the shell32.dll on my system and enjoy the following delays for deleting in-use directories AND files now:
Explorer: 0 seconds!
TC: 0 seconds! (with both Explorer and TC deletion method)
3. Search for the hex string 8bff558bec565733ffeb2183ff05, you will find it twice! In each occurence replace the last 05 with 00.
WinXP SP1.
Any ideas why there is not such string in my shell??
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
I have created a patcher for shell32.dll and need some brave testers. 
http://icfu.totalcmd.net/Tools/Deliminator.zip
Please give me some feedback if it works as expected, thanks!
Icfu

http://icfu.totalcmd.net/Tools/Deliminator.zip
Please give me some feedback if it works as expected, thanks!
Icfu
This account is for sale