Jump to content

Multiple config files


gr3gw

Recommended Posts

Hi,

 

I would like to see multiple config files. In some programs this is call 'profiles' but another user has referred to multiple 'user profiles' which is different. I want to be able to have a config file for clean ups on a weekly basis and a different config file for monthly clean ups. At the moment I have to change the config settings but it would be wonderful if I could simple open a previously saved set of config settings and run that. Having a parameter for the command line that specifies which saved config file to use would be awesome.

Link to comment
Share on other sites

Use the Portable version of CCleaner.

 

Configure it for monthly clean. Close CCleaner. Then copy CCleaner.ini as Monthly.ini

Configure it for weekly clean. Close CCleaner. Then copy CCleaner.ini as weekly.ini

Create a simple batch script that includes

 
COPY %1.INI CCLEANER.INI > NUL
START CCLEANER %2 %3

NB The above %2 %3 are only needed if you want an Auto Clean and Shut-down capability

 

Then add to the desktop short-cuts to the script with suitable parameters.

e.g. for a script called Clean.cmd located at "H:\New Portable\CCleaner\"

"H:\New Portable\CCleaner\Clean.cmd" Monthly

"H:\New Portable\CCleaner\Clean.cmd" Weekly

"H:\New Portable\CCleaner\Clean.cmd" Weekly /AUTO /SHUTDOWN

 

Alan

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.