News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

user-template

Started by Anonymous, June 16, 2005, 07:52:38 PM

Previous topic - Next topic

Anonymous

Is there a way to update or delete a "user-template" you created?
Thanks in advance.

rickg22

Yes, just go to the codeblocks subdirectory and edit it (with notepad) or remove it.

Anonymous

not to be a pain...but can i ask what file im changing?

rickg22

Under what filename did you save the template you created? :)

Anonymous

I saved it as 'DirectX' but I already looked through the whole codeblocks directory and all its subdirectorys and couldn't find it.

rickg22

Maybe it's in your userprofile subdirectory? (Sorry, never used custom templates, i'm wildguessing :oops: But I DO know that data is stored in your userprofile directory, i.e. my documents etc.

mandrav

It's in your user profile. For windows2000 and up, you will find your user-templates in "Documents and Settings\<username>\.CodeBlocks".

Yiannis.
Be patient!
This bug will be fixed soon...

tiwag

Quote from: mandravIt's in your user profile...

of course in non-english versions of windows the directory names changes (unfortunately) ...

a universal approach, working on a command prompt on all localized windows versions could be:

make a commandfile: maybe called "cbhome.cmd"
=[cbhome.cmd]=
SET HOME="%HOMEDRIVE%%HOMEPATH%"
%HOMEDRIVE%
cd %HOME%
cd .CodeBlocks
=[/cbhome.cmd]=

execute your "cbhome.cmd" to change to your .CodeBlocks home-dir

Anonymous

Thanks so much, this helped alot.

BadOPCode

Just incase someone wanders in from Google search like I just did and find this thread outdated... Just a quick update to the thread...
For Win7 users the code blocks directory that your searching for is
C:\Users\[user name]\AppData\Roaming\codeblocks\UserTemplates