Something rotten in "Options, Include additional files to clean"

I wanted as many temp files as possible to be directed to a folder on a second drive. That part went very well.

I also wanted CCleaner to delete the files in these "extra" temp areas. So I went to options, then include and that is the area to select additional files and folders you want CCleaner to remove. It was a snap to set up but I will spare you the details of the hours of troubleshooting I've been through.

I didn't want these files to be deleted right away so I took the option to not delete anything less than 24 hours old, and the program deleted nothing. I lower the time to 12, 6, 3, and finally 1 hour. The data gleamed from this was chaos at best. In this temp folder there are a number of sub-folders and around 300 files. Most of these files are more than a day old, to say nothing of 12 or 6 or 1 hour. I think the most it could find was 12 files. Why it picked those files I do not know. There were some in there which were years old. There were all sorts of file types in this area, tmps, exes, jpgs, ect. When I finally gave up on using the time option and the program found 278.

My conclusion is that there is a bug in your program!

can you provide some more info, such as, OS version, CC version.

also, in CC, Options, Advanced, the two 'older than 24 hours' boxes, does changing them change your results?

can you snapshot the Include window showing your settings?

and, just to state the obvious, the dates on these temp files, are we talking Date Created, Date Modified or Date Accessed?

I'm attaching some jpg's since pictures speak so much better than words.

CCleaner1 is a screen shot of the basic information, as in version of CC, OS and other details. Due to bad timing on my part I don't have a shot of the folder in question before and after running CC under these specifications. I had already moved on to removing the check mark from "only delete after 24 hours". My Bad! I got ahead of myself.

CCleaner2 is from CC again after running the cleaner set to ignore the date and it did remove several files. Unfortunately it doesn't tell us any date on the files and it shouldn't have mattered in this case. Now it gets interesting.

CCleaner3 is what the folder looks like after the cleaner ran and the files listed in the CCleaner2 aren't there; but WHY are these files here? If the wait for 24 hours box had been checked, then some of them being there would make sense because they are less than 24 hours old, as of the execution of ccleaner.

Just in case it is difficult to read, the date of the files listed is the Date Modified. One thing I just noticed is in the options for the "include" I went with "include files only". In retrospect I think I should have gone with one of the other two options which included sub-folders but I'm not quite sure which.

That is all the info I have for you at the moment. Hope it help.

post-63101-0-02676600-1467512364_thumb.jpg

post-63101-0-59350200-1467513545_thumb.jpg

post-63101-0-75552800-1467514110_thumb.jpg

did you redirect your temporary files via the User and System Environment Variables from Control Panel?

I ask because I have done the same, relocate the TEMP and TMP environment variables away from my C:\ SSD to my D:\ HDD, and when I run CC they get cleaned as expected.

I don't need to INCLUDE them as they will automatically get done as part of CC's default settings.

But the INCLUDE for the user temp and tmp would be; Include1=PATH|%UserProfile%\AppData\Local\Temp\|*.*|RECURSE|0|0|24

and for the system temp and tmp; Include2=PATH|%windir%\temp\|*.*|RECURSE|0|0|24

Aha! You may be on to something. Yes, you were correct in presuming that I control my "tmp" settings through the System Properties. I have removed the location from the "Include" additional files area of CC so we will wait and see what happens. I do have a question, when I removed the location from the additional files area it removed the extra (?) include line from ccleaner.ini and it looked a little different from your example. You showed it as |RECURSE|0|0|24 and the end of my line was | |1|0|24.

On a related matter, there is a checkbox for not deleting temp files for 24 hours. I'm not sure of what situation would call for a temp file to be there longer than that, but just for giggles is there a way to change the timing to 48 or something else?

Thanks

the 0 or 1 difference between our .ini lines is for the 'only delete if older than' field.

so |0|0|48 is untick 'only delete if older than 48' hours and |1|0|48 is tick 'only delete if older than 48 hours'

and No on the 'older than 24 hours options in the Advanced settings idea. :)