Author Topic: Making the standard C::B profile portable on a DropBox  (Read 4308 times)

BlakBat

  • Guest
Making the standard C::B profile portable on a DropBox
« 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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7589
    • My Best Post
Re: Making the standard C::B profile portable on a DropBox
« Reply #1 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.
« Last Edit: March 18, 2014, 09:33:04 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org