Help - Search - Members
Full Version: RECURSE still not working
Piriform Community Forums > Piriform Software > CCleaner Discussion > CCleaner Bug Reporting
mike42
I'm afraid I have to revert my last post in http://forum.piriform.com/index.php?showtopic=24611. I started a new thread, since it is a new bug.

RECURSE now works as it should, but only for the first occurrence in each section.

[Test]
FileKey1=C:\test|name.ext|RECURSE
FileKey2=C:\test|name.txt|RECURSE

Here all files "name.ext" are found recursively, but "name.txt" does no recurse.

--------------------------
[Test]
FileKey1=C:\test|name.ext
FileKey2=C:\test|name.txt|RECURSE

This finds "name.ext" only in "C:\test" and "name.txt" in all subfolders. It seems, only one RECURSE per section is accepted now.
I believe this was not intended. Please, Bug fixers, can you take another look at that?

Thanks,
Mike
mike42
Please, can someone confirm this bug, or did I do something wrong?

Regards,
Mike
Sailback
QUOTE (mike42 @ Oct 30 2009, 06:34 AM) *
Please, can someone confirm this bug, or did I do something wrong?

Regards,
Mike

No your example is good. I see the same thing.
I figured the authors would test so I looked into the embedded winapp.ini for a real life trial and found
CODE
[Sun Java]
ID=2094
LangSecRef=3022
Detect=HKLM\SOFTWARE\JavaSoft\Java Plug-in
Default=True
FileKey1=%appdata%\Sun\Java\Deployment\cache|*.*|RECURSE
FileKey2=%appdata%\Sun\Java\Deployment\javaws\cache|*.*|RECURSE

This works as you would think.
A couple of tries later I came to the conclusion that the 2 different paths before the file mask were the key.

So, going back to your 1st example I made this change to the "FileKey2" line.
CODE
[Test]
FileKey1=C:\test|name.txt|RECURSE
FileKey2=C:\test.\|name.ext|RECURSE

Both lines were processed.

If this is accurate the [CA Anti-Virus] section in the embedded winapp.ini should fail
to process some action keys as well. Here's a fragment.
CODE
[CA Anti-Virus]
...
FileKey4=%commonappdata%\CA\Consumer\AV|*.tmp|RECURSE
FileKey5=%commonappdata%\CA\Consumer\AV|*.txt|RECURSE
FileKey6=%commonappdata%\CA\Consumer\CCube|*.tmp|RECURSE
FileKey7=%commonappdata%\CA\Consumer\CCube|*.txt|RECURSE
...
mike42
Very interesting. But for sure, this is simply not working properly. So I really hope, the devs will take care of that. After all, their "built-in" stuff in winapp.ini is not working at the moment too.

BTW: Where do you get this winapp.ini from?
mike42
Did any of the bug fixers see my report? I'd really appreciate some confirmation, if devs could take a look at this issue. Currently most of my winapp2.ini entries simply don't work.

regards,
Mike
MrT
Thanks, we'll look into this.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.