Author Topic: Portable settings  (Read 2540 times)

Wokky

  • Guest
Portable settings
« on: October 06, 2008, 01:12:04 pm »
Apologies if this has been asked before, but is there any way to force CodeBlocks to look for a default.conf inside it's own folder before checking inside of the user area?

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: Portable settings
« Reply #1 on: October 06, 2008, 01:32:31 pm »
Hi !

Look at this

Dje

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Portable settings
« Reply #2 on: October 06, 2008, 01:49:51 pm »
If that does not fit your needs, you can use a different personality (e.g. "mobile").

Start C::B from console or from a batch-file with the "-p" parameter (e.g. "-p mobile").
That will create a "mobile.conf" and maybe other conf-/ini-files from plugins in the default folder (all called "mobile.*").

Move the files in the directory where your mobile executable is, and start it with the same parameter set.

If you do so, it should not conflict with a C::B installation in the default folder on the PC where you use your USB-Stick (or whatever you have).

Wokky

  • Guest
Re: Portable settings
« Reply #3 on: October 06, 2008, 10:26:51 pm »
If that does not fit your needs, you can use a different personality (e.g. "mobile").

Start C::B from console or from a batch-file with the "-p" parameter (e.g. "-p mobile").
That will create a "mobile.conf" and maybe other conf-/ini-files from plugins in the default folder (all called "mobile.*").

Move the files in the directory where your mobile executable is, and start it with the same parameter set.

If you do so, it should not conflict with a C::B installation in the default folder on the PC where you use your USB-Stick (or whatever you have).

Thanks very much, that's exactly what I needed. :)