Code::Blocks Forums

User forums => Help => Topic started by: Anonymous on June 16, 2005, 07:52:38 pm

Title: user-template
Post by: Anonymous on June 16, 2005, 07:52:38 pm
Is there a way to update or delete a "user-template" you created?
Thanks in advance.
Title: user-template
Post by: rickg22 on June 16, 2005, 08:11:15 pm
Yes, just go to the codeblocks subdirectory and edit it (with notepad) or remove it.
Title: user-template
Post by: Anonymous on June 16, 2005, 09:51:49 pm
not to be a pain...but can i ask what file im changing?
Title: user-template
Post by: rickg22 on June 16, 2005, 10:56:33 pm
Under what filename did you save the template you created? :)
Title: user-template
Post by: Anonymous on June 18, 2005, 02:02:16 am
I saved it as 'DirectX' but I already looked through the whole codeblocks directory and all its subdirectorys and couldn't find it.
Title: user-template
Post by: rickg22 on June 18, 2005, 04:09:57 am
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.
Title: user-template
Post by: mandrav on June 18, 2005, 09:07:37 am
It's in your user profile. For windows2000 and up, you will find your user-templates in "Documents and Settings\<username>\.CodeBlocks".

Yiannis.
Title: user-template
Post by: tiwag on June 18, 2005, 10:14:17 am
Quote from: mandrav
It'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]=
Code
SET HOME="%HOMEDRIVE%%HOMEPATH%"
%HOMEDRIVE%
cd %HOME%
cd .CodeBlocks
=[/cbhome.cmd]=

execute your "cbhome.cmd" to change to your .CodeBlocks home-dir
Title: user-template
Post by: Anonymous on June 18, 2005, 06:19:50 pm
Thanks so much, this helped alot.
Title: Re: user-template
Post by: BadOPCode on March 21, 2012, 12:16:35 am
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