does not remove directories

The best solution for finding and removing duplicate files.
clberry0020
Posts: 1
Joined: Mon Jul 13, 2015 4:06 pm

does not remove directories

Post by clberry0020 »

Hello,

When I remove complete directories of their content using the tool, I have to go back into the folder that was just removed to delete the directory. The "Remove empty folders check box" has been checked. I have seen this issue from the moment I first used the tool.

Thanks
User avatar
therube
Posts: 634
Joined: Tue Jun 28, 2011 4:38 pm

Re: does not remove directories

Post by therube »

Are you sure said directories are empty?
0-byte or hidden files do not make "empty".
(Music or picture directories might come to mind.)

Suppose its also possible that with particular directories, say some sort of Temporary directory, files may be written to, removed from, on an ongoing basis, & when you (Duplicate Cleaner) attempted the delete, the directory was not empty - at that point in time.

Otherwise, with other software, I have run across "timing" issues, something of the sort where the directory removal part of a deletion fires before everything has actually been deleted. So what failed initially, completes a moment later (on a second attempt).

C:.
+---1
| | C1APDS
| | C1APHD
| | C2APDS
| | C2APHD
| |
| +---subdir1
| \---subdir2
\---2
C1APDS
C1APHD
C2APDS
C2APHD

Also note that I don't believe that empty subdirectories (children to some specified search directory) are probably going to cause a directory to not be "empty", I'm thinking ... Let me see...

Right.

/1/ & /2/ are exactly the same.
/1/ also has two empty (as they are) subdirectories.

Scan, run, select all files in /1/, & also tell it to remove "empty directories".

Code: Select all

NOT REMOVED: C:\TMP\dumy\1 : The directory is not empty.
Suppose not removing /1/, in this case, is expected.
Post Reply