(1) Can ccleaner either using the include custom folders or the ccleaner.ini Includexxx=Path| (Variable) |*.*|RECURSE
Can it Clean using variables, where you do not know the complete path... You just know its a folder named XYZ somewhere on the drive?
It could be anywhere....
Use case senario: I have a file server that has user profiles... and etc... The thing is over the years, people made copies of their profiles and stuck them in unknown directories all over the place.. and I mean all over the place, could be named copy, could be named new folder, could be named top secret...goes on and on, and hundreds of folders deep....
So without knowing the complete directory structure, path, or tree.
Is there a way to just clean any directory named |"<\Temp\>"
no matter where it resides? ^\Temp ~\Temp %\Temp\% \Temp\*.*
I did a search -- But the search takes forever and bombs out... File server has several Terabytes of data...
And Tons and Tons of temps, hidden in stupid locations all over the place...
(2) Are all Temp and Log directories created equal? I mean are there any ones that you should NOT Clean?
1 yes, but it's a little dangerous because you're likely to also get folders with name including words such as template and temperature, so i'd advise against it.
2. In order: No not really. Probably. It could happen (though unlikely it is possible)
In your example "Include1=PATH|%APPDATA%\Adobe\FlashPlayer\AssetCache\|*.*|RECURSE"
It is using the environment variable APPDATA then path adobe \ flash\ AssetCache\ etc....
What I am asking is does ccleaner use variables in its app... not using the variables in windows environmental settings.
The next is using the ccleaner application variable or custom winapp2.ini or ccleaner.ini to "Include1=PATH|{{ANY TEMP FOLDER}}
THE ANY TEMP FOLDER would be the custom variable that you place on the drive.... I just don't know how to do it, and if it allows.
So if I said scan "Include1=PATH|{{ANY TEMP FOLDER}} |*.*|RECURSE"
It would find the Temp folder in location c:\someuser\downloads\saved\custom\whoknows\why\]whenwillwe\okaylets\TEMP\*.*
In the above made up example, I wouldnt know where that temp directory was without a lot of searching... and there are ton of these TEMP folders without knowing its full directory PATH...
So I am asking if ccleaner allows something that says scan for all %TEMP FOLDERS% and recursively delete all files within... No matter where they are located on the drive...
in your example you still have to set the path == what I am say, is it would be hard work to list all the possible paths..
I get what you are saying on avoiding removing some temps and logs.
But in the use case, say its a Temporary Internet folder... yet you still don't know all the paths or directoris.
so aside from do a dir then findstr with the exact perimeters then sending to a file.
I was thinking of using possible the for /F and do del /f or rmdir /f
But what I am uncertain is, if it scans through every directory.
havenbt research the possibity of add the "\<Temporary\>" to the (......) entry or even add a txt file with a list of possible paths.
file:
"\<Temporary\>"
or *Temporary*
example:
for /F "delims=" %i in (dir /s /ad |findstr "\<Temporary\>") do del /f %I
for /F "delims=" %i in (dir /s /ad |findstr "\<Temporary\>") do rmdir /s /q %I
or via file
for /F "delims=" %i in (path to include.txt) do del /f %I
I am not at the location to give this a test.. but though I would write it down for discussion and though
The question is can ccleaner do something like this within its interface, or possibly add a vbscript or powershell that does the muscle, then it just cleans the directories that was found.
IDK... Just a though....
Hoping to advance the product and take care of some issues too. : )