Can't delete some files when associated files icons shown

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
thims
Junior Member
Junior Member
Posts: 30
Joined: 2010-11-22, 16:27 UTC
Location: Kaliningrad, Russia

Can't delete some files when associated files icons shown

Post by *thims »

I have the "All associated + EXE/LNK (slow)" option enabled in Display->Icons.

For example, I have a network share that is not very fast and it contains several hundrends of *.exe files. I enter this share using TC and it starts updating icons. At the same time, I select all files and press the Shift+Del to delete them all. This operation stops with "access denied". It can even happen several times. It looks like TC doesn't allow FILE_SHARE_DELETE when retrieving file icons.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is most probably caused by a background virus scanner.

Btw, TC doesn't actually open files via CreateFile or similar, so it cannot specify FILE_SHARE_DELETE parameter - it uses functions like ExtractIcon, LoadImage, LoadLibrary (as data file) etc. which don't support this parameter.
Author of Total Commander
https://www.ghisler.com
Post Reply