Cannot delete folder, file in use

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
petergus
Member
Member
Posts: 164
Joined: 2003-02-06, 16:28 UTC
Location: Sweden, Enköping
Contact:

Cannot delete folder, file in use

Post by *petergus »

Hi!

When I deleted a couple of XP service pack uninstall foldes with $NtUninstallKB833407$ names I got a couple of "file in use" message.

But I could delete these files with Explorer.

Have TC any problem deleted compressed folders ?

SYS: XP PRO SP1 w/admin rights


//Peter
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

No there is no such problem in TC. You might have had the directory still open in the another panel in TC or somewhere else.
I switched to Linux, bye and thanks for all the fish!
User avatar
petergus
Member
Member
Posts: 164
Joined: 2003-02-06, 16:28 UTC
Location: Sweden, Enköping
Contact:

N

Post by *petergus »

SanskritFritz wrote:No there is no such problem in TC. You might have had the directory still open in the another panel in TC or somewhere else.
No, TC is the only one.
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

You mean it is still not possible??
I switched to Linux, bye and thanks for all the fish!
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

1. If you can't delete a folder make sure it's not opened in the other panel like SanskritFritz has already told you.

2. If that doesn't help restart TC.

3. If that doesn't help, too, kill and restart explorer.exe with the task manager (you will lose some icons in Systray probably if you aren't running a Systray recover utility) or relogin.

4. If that STILL doesn't help you have to restart your computer to release the file in use.

Icfu
This account is for sale
Jon Canale
Member
Member
Posts: 141
Joined: 2003-02-07, 12:54 UTC

Post by *Jon Canale »

I ran into this exact same thing just the other day, also on WinXP sp1. I tried to delete a group of $NtUninstallxxxxxxx$ folders and got many messages about files that could not be deleted. However, when I selected one folder at a time, there was no problem.
User avatar
henrich.fukna
Junior Member
Junior Member
Posts: 60
Joined: 2003-03-07, 10:18 UTC
Location: Bratislava, Slovakia

Post by *henrich.fukna »

The dir/folder maybe open another process in Windows. Try remove dir/folder when you have open console (command prompt) in the dir/folder :-) It is Windows feature

Henrich
User avatar
JohnFredC
Power Member
Power Member
Posts: 886
Joined: 2003-03-14, 13:37 UTC
Location: Sarasota Florida

Post by *JohnFredC »

This problem happens all the time. It seems to me to be related to whether a folder to be deleted has empty subfolders (though I cannot prove this) and happens most frequently when I use TC to delete shared folders on other computers in my peer-to-peer network.

My environment is entirely XP SP1.

After TC deletes the subtree, it tries to delete the parent folder and encounters a sharing violation. A little utility I have called "WhoLockMe" always shows that TC itself owns the folder it cannot delete. Cancelling TC frees the folder for subsequent deletion.

This has happened enough times that I am reasonably sure it is a TC problem. I cannot reproduce the error at will, however.
Licensed, Mouse-Centric, moving (slowly) toward Touch-centric
kursadyildirim
New Member
New Member
Posts: 1
Joined: 2022-09-01, 17:29 UTC

Re: Cannot delete folder, file in use

Post by *kursadyildirim »

Same things happens to me all the time recently. Whenever I do smt in a folder (E,g, extract a rar file.) I cannot delete that folder. TC empties the content but cannot remove the folder. After restarting TC, only then it can remove the folder.

Cheers,
~K
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50549
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Cannot delete folder, file in use

Post by *ghisler(Author) »

Are y<ou using quick search extended? There was a recent bugfix which addresses this problem:
https://www.ghisler.ch/board/viewtopic.php?p=420317#p420317
Author of Total Commander
https://www.ghisler.com
Post Reply