I want ccleaner to remove the folders "obj" and "bin" with all their files AND subfolders. This should be done in the winapp2.ini. The "MyProject" folders should not be hard coded, ie. I don't want to put a line for each "MyProject" folder. I want ccleaner to start in the "Cplusplus" folder and search all subfolders (the project folders) for "obj" and "bin" foders.
Can anyone tell me what lines I should put in the winapp2.ini?
Well Mike you can add folder with Options\Included and find you folder name. That will show *.* files in that folder. Select the folder and click Edit and change the *.* to *.obj. Then you add the same folder again but change the extension to *.bin. That should delete all those files in that folder.
Now I've never need to use this option but you could just copy some *.obj and *.bin files into there and doo a clean to see if it works.
Well Mike you can add folder with Options\Included and find you folder name. That will show *.* files in that folder. Select the folder and click Edit and change the *.* to *.obj. Then you add the same folder again but change the extension to *.bin. That should delete all those files in that folder.
You probably mean obj.*. However, that does not find the obj folders within the MyProject folders. It seems, ccleaner doesn't recurse in this case. I would have to manually include a search path for every single project.
FileKey1=D:\Cplusplus\obj|*.*|REMOVESELF would seem more reasonable.
Same as in my previous post. This doesn't recurse when searching for obj folders. It finds a "D:\Cplusplus\obj" folder but not a "D:\Cplusplus\MyProject\obj" folder.
Well, yes of course that works. But everytime I create a new project I have to add another line in the winapp2.ini. That is not the intention of an automatic cleaner tool. (see my OP)