Code::Blocks Forums

User forums => Help => Topic started by: BlakBat on March 18, 2014, 09:16:54 pm

Title: Making the standard C::B profile portable on a DropBox
Post by: BlakBat on March 18, 2014, 09:16:54 pm
Hello to all.

I've installed C::B on my dropbox folder, thinking I would be able to use it from there whatever the computer I use.
The dropbox folder (and location of C::B) is always the same whatever the computer (in this case always: D:\users\julien\Dropbox\programs\CodeBlocks)

C::B runs fine on the computer it was installed on, but fails to create or load the profile on the second computer.
The location of the user profile is %APPDATA%/...

Is there anyway to enforce C::B to load the profile from a location on my dropbox? such as D:\users\julien\Dropbox\profiles\cb\ ?

I tried looking through the registry and using --profile, but it seems there's no way to force the profile data location.

Can anyone help making C::B load profile from a different directory?
Thanks,
Julien
Title: Re: Making the standard C::B profile portable on a DropBox
Post by: stahta01 on March 18, 2014, 09:30:20 pm
Use a recent nightly around November 1013 February 2014 an option to set the data folder was added.

Code
new command line option --user-data-dir=<path> to specify an alternative directory for user settings and user installed plugins

Tim S.