isn't this already available; http://www.piriform.com/docs/ccleaner/advanced-usage/ccleaner-ini-files/environment-variables-and-system-variables-in-ccleaner
I've just setup a CustomLocaton for Slimjet using %LocalAppData%, see here; https://forum.piriform.com/index.php?showtopic=48725&do=findComment&comment=285743
In CCleaner if you do:
Options > Include > Custom files to delete and folders to empty.
Yes, you can currently use environment variables when specifying file or folder locations. However, the enhancement I was referring to is specific to https://www.piriform.com/docs/ccleaner/advanced-usage/ccleaner-ini-files/how-to-clean-user-data-from-non-standard-mozilla-browsers (How to clean user data from non-standard Mozilla browsers) which currently does not support the use of environment variables.
in Options > Include, when you want to add one, you can use environment variable, I do that myself.
and I've edited my post above with a link to the related thread where I've also used environment variables in the CustomLocation field in the .ini file.
is this not what you are chasing?
That's odd, I can't understand why I'm not getting the same results.
CustomLocation1=FIREFOX|%UserProfile%\AppData\Local\Tor Browser\Browser\TorBrowser\Data
and
CustomLocation1=FIREFOX|%LocalAppData%\Tor Browser\Browser\TorBrowser\Data
Will never work for me. Though If I use:
CustomLocation1=FIREFOX|X:\Users\USERNAME\AppData\Local\Tor Browser\Browser\TorBrowser\Data
It recognizes it.
I agree with the initial suggestion. Custom Location is NOT the same as include. Custom location allows for browser to be seen and cleaned by existing rules (including vacuuming databases like cookies where some stay and some go). While the orginal suggestion doesn't work for me - I have portable browsers and have to custom locate hard coded as there's no EV for portable drive - I think it (along with my request for customlocation gui) would benefit ccleaner's users.
Afaik that's only for winapp1.ini and its siblings.
@Nergal, I like your idea of being able to set CustomLocation(s) within the CCleaner GUI. Coupling that with being able to use environment variables for them would be a great improvement to the software.