User forums > Help

user-template

<< < (2/2)

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.

tiwag:

--- Quote from: mandrav ---It's in your user profile...
--- End quote ---


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
--- End code ---
=[/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

Navigation

[0] Message Index

[*] Previous page

Go to full version