Configure winapp2.ini to clean portable programs

Hi,

I'm trying to customize the file winapp2.ini of Ccleaner portable. There are several guides and even can download some files that are already configured.

The problem is that I use almost exclusively for portable programs by not installing / uninstall programs.

Sic stantibus rebus, how do I configure that file? What will change?

Ex: Screenshot

Thank you.

Fab

The problem is that Portable programs don't have a detectable location enviromental variable (i.e. %appdata% is always the same thing in windows but there is no %portabledrive% variable.) Now, if you are like me and use the same drive letter always on your drive on a single computer you could, indeed make a winapp2 entry

SO you could have

[ClamWinPortable*]

LangSecRef=3024

Detectfile=M:\ClamWinPortable

Default=True

FileKey1=M:\ClamWinPortable\Data\log|*.*

The problem is that Portable programs don't have a detectable location enviromental variable (i.e. %appdata% is always the same thing in windows but there is no %portabledrive% variable.) Now, if you are like me and use the same drive letter always on your drive on a single computer you could, indeed make a winapp2 entry

SO you could have

Yes...but not all portable programs have log folder...

Yes...but not all portable programs have log folder...

That was an example, and one of the few I could have chosen as I said above. the Browsers would be harder and Piriform uses "special-key" to clean those