User forums > General (but related to Code::Blocks)
cb nightly on flash drive
MVP:
is there a way to change the path of cb's settings?
ie C:\Documents and Settings\mvp\Application Data\codeblocks
TDragon:
Move your .conf file from the default location to the same directory as codeblocks.exe. C::B looks for a .conf file (default.conf unless you tell it otherwise) in various places before creating a new one in the default place.
EDIT:
This will help you in running C::B from removable media such as flash drives. If you actually do want to change the paths being searched for the .conf file, you'll need to tinker around with the C::B source code.
MVP:
thank you
how do you tell it otherwise?
TDragon:
In the command line, you use the /p or --personality switch: for example, "codeblocks.exe /p myname". This will tell C::B to look for the file myname.conf.
MVP:
Do you know how to use relative file linking for includes, etc? I want to put my wxWidgets folder and MinGW inside of the Code Blocks folder.
Navigation
[0] Message Index
[#] Next page
Go to full version