Author Topic: user-template  (Read 9316 times)

Anonymous

  • Guest
user-template
« on: June 16, 2005, 07:52:38 pm »
Is there a way to update or delete a "user-template" you created?
Thanks in advance.

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
user-template
« Reply #1 on: June 16, 2005, 08:11:15 pm »
Yes, just go to the codeblocks subdirectory and edit it (with notepad) or remove it.

Anonymous

  • Guest
user-template
« Reply #2 on: June 16, 2005, 09:51:49 pm »
not to be a pain...but can i ask what file im changing?

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
user-template
« Reply #3 on: June 16, 2005, 10:56:33 pm »
Under what filename did you save the template you created? :)

Anonymous

  • Guest
user-template
« Reply #4 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.

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
user-template
« Reply #5 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.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
user-template
« Reply #6 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.
Be patient!
This bug will be fixed soon...

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
user-template
« Reply #7 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

Anonymous

  • Guest
user-template
« Reply #8 on: June 18, 2005, 06:19:50 pm »
Thanks so much, this helped alot.

BadOPCode

  • Guest
Re: user-template
« Reply #9 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