- Explorer delete them without a problem to recycle bin or directly.
- TC with explorer delete method, delete them without a problem to recycle bin or directly - that obviously.
- TC with default method, delete them without a problem to recycle bin.
- TC with default method, can't delete them directly.
Tested on windows 7 x64, Tc ? - 9.22a, 9.50RC1 (x64/x86 with VistaDelete=1/0).
For developer that uses git + TortoiseGit + TC it's a nightmare to directly delete repositories from TC, due to TGitCache.exe process open all repos folders with FILE_SHARE_DELETE...
Just in case, the video of the problem.
I understand that RemoveDirectory can't delete such folders (leave them until handle is released). But, can we use a mixed delete method for such things? Use shell (IFileOperation) methods after or instead RemoveDirectory for such dirs?
Thanks.