Impossible to delete .EXE .DLL - "File In Use"

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
vindiou
Junior Member
Junior Member
Posts: 7
Joined: 2011-07-14, 20:21 UTC

Impossible to delete .EXE .DLL - "File In Use"

Post by *vindiou »

Hi,

I used to delete directly any type of file pressing my DEL keyboard key after selecting the file inside TC7.56a (clicking once on it)

Lately, for some reason, I can't delete anymore .DLL & .EXE files. However, it works with .PDF .DAT .RTF .ZIP .TXT...

I get a dialog box that says: "File In Use - The action can't be completed because the file is open in Total Commander 32bit - Close the file and try again"

FYI, I'm using W7 SP1 Ultimate 32 bits + latest online updates.

My Recycle Bin Properties have the "Display delete confirmation dialog" UNCHECKED

Total Commander have "Operation", "Copy/Delete", "Use Explorer delete method" CHECKED

Any idea what's wrong?

Thank you.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2vindiou
Do you use any plugins or custom columns?

You may also try to check with OpenedFilesView what application is blocking your exe/dll files.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
billiebub
Member
Member
Posts: 187
Joined: 2011-04-12, 19:49 UTC

Post by *billiebub »

it seems like one of your plugin(s) is holding on to one of the exe/dlls it needs. if OpenedFilesView does not work for you, try the sysinternals utility ProcessExplorer. Once opened, click on Find from the menu and click on "Find Handle or DLL". You should then get a list of all opened handles. Search for totalcmd.
vindiou
Junior Member
Junior Member
Posts: 7
Joined: 2011-07-14, 20:21 UTC

Post by *vindiou »

Do you use any plugins or custom columns?.
No
You may also try to check with OpenedFilesView what application is blocking your exe/dll files.
Well I tried. As long as TC is running, the EXE or DLL that I tried to delete stay in memory : Image: http://c6c.free.fr/pic.png Then if I quit TC, the EXE or DLL is unloaded. BTW, I forgot to mention that my Windows Explorer delete these EXE & DLL files without any problem...
vindiou
Junior Member
Junior Member
Posts: 7
Joined: 2011-07-14, 20:21 UTC

Post by *vindiou »

it seems like one of your plugin(s) is holding on to one of the exe/dlls it needs..
I don't use any plugin
if OpenedFilesView does not work for you, try the sysinternals utility ProcessExplorer. Once opened, click on Find from the menu and click on "Find Handle or DLL". You should then get a list of all opened handles. Search for totalcmd.
Thank you for this suggestion but it didn't help.

I've just noticed that something strange happens. If I select 4 .EXE files, then press DEL key, most of these .EXE files will be deleted. I said "most" because sometimes all of them are deleted OR 3 of them OR 2 of them. But if I select only one .EXE file, I can't delete it.
vindiou
Junior Member
Junior Member
Posts: 7
Joined: 2011-07-14, 20:21 UTC

Post by *vindiou »

I've noticed that this problem ONLY happens when Total Commander have "Operation", "Copy/Delete", "Use Explorer delete method" CHECKED
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50824
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

When you check the Explorer delete method, TC itself has no influence on the functions - it just tells the system (via OLE2) to delete the files.
Author of Total Commander
https://www.ghisler.com
Post Reply