Jump to content

Environment variables in custom locations


kudos

Recommended Posts

I would like to have the ability to add something like this:

 

FIREFOX|%appdata%\FirefoxPortable\

 

rather than

 

FIREFOX|c:\Documents and Settings\user\Application Data\FirefoxPortable\

 

I use the local user's application data folder because it is faster reading/writing to a hard drive instead of my usb stick.

 

Is it possible to implement?

Link to comment
Share on other sites

I would like to have the ability to add something like this:

 

FIREFOX|%appdata%\FirefoxPortable\

 

Is it possible to implement?

 

Yes and No

 

It is NOT possible to do this with the built in "Include" section of my old version of CCleaner,

BUT it MAY become possible in future.

 

It IS ALREADY AVAILABLE when using winapp2.ini, even for my old version,

e.g. I have added my own special portion to winapp2.ini of :-

 

[*UserProfile]

LangSecRef=3024

DetectFile=%USERPROFILE%

Default=False

FileKey1=%APPDATA%\Macromedia\Flash Player\|*.*|RECURSE

FileKey2=%USERPROFILE%\Local Settings\Temp\|*.*|RECURSE

FileKey3=%USERPROFILE%\Temp\|*.*|RECURSE

FileKey4=%APPDATA%\Adobe\Flash Player\|*.*|RECURSE

 

Alan

Link to comment
Share on other sites

Thanks Alan, but does winapp2.ini support the FIREFOX directive which instructs CCleaner to compact databases, etc?

 

! ! ! !

 

That is a very different question, totally unrelated to Environmental Variables.

 

I do not know.

 

I am unaware of any Ccleaner ability to compact databases.

 

I do not know what you mean by a Firefox Directive.

 

My only experience of winapp2.ini, and I assume its sole purpose,

is to purge specified files, folders, and registry keys etc.

 

Alan

Link to comment
Share on other sites

  • Moderators

If you want to vacuum the Firefox sqlite database you can do that from inside of Firefox itself, no additional software required!:

http://lifehacker.com/5344418/make-firefox...g-your-database

 

Just save that info and code listed on that site into a text document and you'll be able to use it with even Firefox Portable.

Link to comment
Share on other sites

Thanks for the replies guys.

 

A snippet from CCleaner's changelog:

 

Version History

 

v2.26.1050

--------------------------------------------

- Added vacuum SQLite databases for Firefox and Google Chrome.

 

v2.28.1091

--------------------------------------------

- Added support for custom locations for applications.

e.g. CustomLocation1=FIREFOX|C:\MyFirefox\Profile

 

Cleans the following Windows components:

 

* Firefox

- Temporary File Cache

- URL History

- Cookies

- Download manager

 

It states that when specifying a custom location with the FIREFOX directive and path that CCleaner will do it's full cleaning at that location - not just the vacuuming.

 

I think that you are over-complicating things. My suggestion is very simple - to allow environment variables where the profile path is, thus allowing CCleaner to work better for me.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.