User forums > General (but related to Code::Blocks)

I apply for a new feature

(1/3) > >>

luoyonggang:
I need a feature that codeblocks can import configure file in the folder that conation codeblocks.exe . Then we can place codeblocks on usb and running it everywhere. I think it would be good !!!!!!
And we just need to adjust a parameter to determine whether the configure files is place on the computer or the usb drivers.

dje:
Hi !

You should search the forum and the wiki.
C::B is already able to do that.

Dje

luoyonggang:
I'm so sorry that i can't find that. I get a method but it doesn't work very well.
I created a automate bat file to running the codeblocks. even though it can specify the environment varibale USERPROFILE,
but in Windows Vista and Windows XP the APPDATA is different , so it's can't share the same configure file .
So can you tell me how to solve this problem.
If you have, please give me the answer.
Than you.

thomas:
Code::Blocks will use a config file located in its installation directory if none is present in the current user's profile folder.

So, to put Code::Blocks onto an USB stick, simply move (not copy) the config file there.

Seronis:

--- Quote from: thomas on March 23, 2008, 02:57:12 pm ---Code::Blocks will use a config file located in its installation directory if none is present in the current user's profile folder.

So, to put Code::Blocks onto an USB stick, simply move (not copy) the config file there.

--- End quote ---

Just to clarify this..  does that mean that if i have codeblocks on my usb drive.. it will ignore my preferences if i use it on a computer that already has C::B?  Shouldnt any config file located in the installation override the generic 'global' config thats in the user profile?

Navigation

[0] Message Index

[#] Next page

Go to full version