Questions

Why some empty folders can't be deleted ?

+
0 Votes
Locked

Why some empty folders can't be deleted ?

newmarketcomics
I saw some empty folders in my C:\Program Files.
Programs previously located in these folders have been uninstalled, but when I tried to remove these folders, error message occured :
Cannot remove folder xxx: It is being used by another person or program.
Close any programs that might be using the file and try again.

How to clean this thing up ? Thanks.
+
0 Votes
dcunningham81
Collapse -

That would be a good way not to log on, period. An empty folder is taking a minimal amount of space. I feel if you succeeded in deleting the folder, you won't come back after reboot. If it is tied in to windows logon.exe then leave it alone since there must be a reason for it.

+
0 Votes
seanferd
Collapse -

dcunningham81 is right. These folders effectively take up zero space.

In fact, if you could find a way to keep these deleted, the trade-off would be Windows trying to find these many times a day. When it can't find them, it will look again and again, sometimes in different places, any time Explorer or something else calls for a list of directories.

You can even check on this sort of thing with something that tracks I/O calls (like Sysinternals Process Monitor) and see all the activity missing files and directories produce. You would probably never notice anything yourself, but it certainly outweighs by far the existence of a couple of zero-byte folders.

+
0 Votes
Niall Baird
Collapse -

You will probably find that its the 'self repair' option of some programs. For example, the Xerox program is possibly a printer / printer driver that you have not uninstalled, so every time you try to delete the 'program files' folder, it will self repair and put it back again. I believe Frontpage is part of IIS, so if you have anything that's using IIS, you will not be able to get rid of the program files folder until you've uninstalled IIS.

+
0 Votes
Cuffy10
Collapse -

Google any one of those file names using "how to remove" and it will turn up more information than you'll ever need.