CCleaner.ini example

Hello everybody,

Is it possible to have an example of ccleaner.ini with variables?

On my Pc, I use ccleaner.ini and have got a problem :

I try to use these options

Include1=PATH|%userprofile%\Local Settings\Temp\|*.*|RECURSE
(App)Custom Folders=True

but ccleaner doesn't delete files in this folder. Is my option wrong?

My OS is XP Pro, my account is admin. The problem is only when I use variables.

Regards

RQ

Use CCleaner itself to add in the paths!

I also include my user profile Temp folder and when having CCleaner itself make the entry it looks different than what you've made, i.e; CCleaner uses the full actual path in C:\ and doesn't use things like %userprofile%

Now if you perform PC maintenance on multiple/different computers, etc., you can make a winapp2.ini entry that will allow the usage of %userprofile%, etc.

Yup, sadly include/exclude does not except enviromental variables

(hint hint developers ;p )

Hello,

thanks for your quick reply.

I was lost because the doc says :

You can use standard Windows environment variables and system variables in CCleaner's INI files.

So I will use winapp2.ini

Regards

RQ

Your entry deletes %temp%, which is already cleaned by CCleaner ;)

Yup, sadly include/exclude does not except enviromental variables

(hint hint developers ;p )

Good timing on this thread, I came today to find the answer for this very question.

I suppose expanding environment variables for Custom Files and Folders doesn't work well when 1) the only user interface way of adding these is to choose an individual file or folder, and 2) going to a text file, being advanced, should be done in a way that the entry can't be clobbered by the aforementioned user interface!

So I'll go experiment with winapp2.ini.

thanks,

chris