I have already tried to draw attention to this topic in the general discussion board, but with very little response. Moderators, please tell me if this issue is regarded as not important or does not concern the core of ccleaners functionality. If so, I am not gonna hassle the community any further. Otherwise I am pretty sure I found a bug concerning the subfolder recursion functionality of winapp2.ini entries. It is easy to reproduce and in my opinion concerns a very basic purpose of the program, i.e. removing unwanted files from the system.
1) finding files:
- Create a folder "C:\test"
- Create a folder "C:\test\sub"
- Put a file "name.ext" into "C:\test" and "C:\test\sub"
- Put the following lines into winapp2.ini
[Test]FileKey1=C:\test|name.ext|RECURSE
- Press "Analyze" in CCleaner
Only "name.ext" in "C:\test" is found while also the one in "C:\test\sub" should be found (that is the purpose of |RECURSE, correct?).
- Now replace the filekey by
FileKey1=C:\test|name.*|RECURSE
Still the same result.
- Now replace the filekey by
FileKey1=C:\test|*.ext|RECURSE
Now all files are found. Why only when the filename is a wildcard? Doesn't make sense to me.
2) finding folders:
- Create a folder "C:\test\sub1\dir" and "C:\test\sub2\dir"
- Put a file "name.ext" into each "dir" folder
I don't see a way of finding all "dir" folders in all the "sub" folders (imagine, there might be 30 more "sub" folders)
I have tried:
FileKey1=C:\test\dir|*.*|RECURSE
FileKey1=C:\test|dir|RECURSE
FileKey1=C:\test\*|dir|RECURSE
FileKey1=C:\test\*\dir|*.*|RECURSE
Does anyone know a solution to this problem? Or can at least someone confirm that this is a problem?
Thanx for listening!
Mike