# Location of Code Snippets and Code Templates files

**URL:** <https://forums.toadworld.com/t/location-of-code-snippets-and-code-templates-files/27764>\
**Category:** Toad for Oracle & DevOps Toolkit\
**Created:** [November 21, 2013, 7:29am UTC](https://forums.toadworld.com/t/location-of-code-snippets-and-code-templates-files/27764 "2013-11-21T07:29:13Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![acip\_296](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@acip\_296](https://forums.toadworld.com/u/acip_296)\
**Post date:** [November 21, 2013, 7:29am UTC](https://forums.toadworld.com/t/location-of-code-snippets-and-code-templates-files/27764/1 "2013-11-21T07:29:13Z")

</div>

Hello

I have added some entries to the “Code Snippets” and “Code Templates” files via TOAD Options window. I would like to

share this with my coworkers so my question is where those files are located and how to distribute them?

Thank you and best regards!

---

<div class="post-metadata">

**Author:** ![acip\_296](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@acip\_296](https://forums.toadworld.com/u/acip_296)\
**Post date:** [November 25, 2013, 4:40am UTC](https://forums.toadworld.com/t/location-of-code-snippets-and-code-templates-files/27764/2 "2013-11-25T04:40:09Z")

</div>

Obviously I am not clear enough. So, I have added some entries to the attached window via TOAD options window:

How can I share this entries with my coworkers ? Also can we use the same template file and how ?

Regards!  
[Templates.docx](https://global.discourse-cdn.com/quest/original/2X/1/1a7bf74f27baeac4841dca15b7f96f20112b3107.docx) (29.4 KB)

---

<div class="post-metadata">

**Author:** ![Bert\_Scalzo](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/bert_scalzo/32/274_2.png) [@Bert\_Scalzo](https://forums.toadworld.com/u/Bert_Scalzo)\
**Post date:** [November 25, 2013, 4:42am UTC](https://forums.toadworld.com/t/location-of-code-snippets-and-code-templates-files/27764/3 "2013-11-25T04:42:50Z")

</div>

[http://www.toadworld.com/products/toad-for-oracle/b/weblog/archive/2013/11/04/copy-and-or-share-toad-settings.aspx](http://www.toadworld.com/products/toad-for-oracle/b/weblog/archive/2013/11/04/copy-and-or-share-toad-settings.aspx)

---

<div class="post-metadata">

**Author:** ![damir.vadas\_250](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/damir.vadas_250/32/37_2.png) [@damir.vadas\_250](https://forums.toadworld.com/u/damir.vadas_250)\
**Post date:** [November 25, 2013, 5:02am UTC](https://forums.toadworld.com/t/location-of-code-snippets-and-code-templates-files/27764/4 "2013-11-25T05:02:44Z")

</div>

Aci,

AFAIK, these entries are saved in “LexLib.lxl” file (%USERPROFILE%\AppData\Roaming\Quest Software\Toad for Oracle\12.1\User Files).

So if you create a file link (mklink) which should point to some shared folder, this might be a workaround for your case.

Brg

Damir Vadas

---

<div class="post-metadata">

**Author:** ![Bert\_Scalzo](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/bert_scalzo/32/274_2.png) [@Bert\_Scalzo](https://forums.toadworld.com/u/Bert_Scalzo)\
**Post date:** [November 25, 2013, 5:06am UTC](https://forums.toadworld.com/t/location-of-code-snippets-and-code-templates-files/27764/5 "2013-11-25T05:06:47Z")

</div>

Good suggestion – just note that as Mark Lerch (Toad dev manager) said recently running multiple copies of toad is problematic for file sharing reasons. So  
there might be some scenarios where doing a link and sharing files could cause issues (e.g. lcoking/overwrites/etc). I think this one is pretty safe – just a caveat to keep an open eye for just in case  
J

---

<div class="post-metadata">

**Author:** ![damir.vadas\_250](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/damir.vadas_250/32/37_2.png) [@damir.vadas\_250](https://forums.toadworld.com/u/damir.vadas_250)\
**Post date:** [November 25, 2013, 5:10am UTC](https://forums.toadworld.com/t/location-of-code-snippets-and-code-templates-files/27764/6 "2013-11-25T05:10:10Z")

</div>

Bert,

I think that method you post with shared “User Files” folder might have more problems with locking then mine single file solution.

[8-|]

Brg

Damir Vadas

---

<div class="post-metadata">

**Author:** ![Bert\_Scalzo](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/bert_scalzo/32/274_2.png) [@Bert\_Scalzo](https://forums.toadworld.com/u/Bert_Scalzo)\
**Post date:** [November 25, 2013, 5:18am UTC](https://forums.toadworld.com/t/location-of-code-snippets-and-code-templates-files/27764/7 "2013-11-25T05:18:47Z")

</div>

My blog is not for sharing the folder itself – for copy folder and/or its files from one place to another ???

Don’t just read the titles – read the content  
J

---

<div class="post-metadata">

**Author:** ![ButtonPusher](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/buttonpusher/32/147_2.png) [@ButtonPusher](https://forums.toadworld.com/u/ButtonPusher)\
**Post date:** [November 25, 2013, 5:53am UTC](https://forums.toadworld.com/t/location-of-code-snippets-and-code-templates-files/27764/8 "2013-11-25T05:53:48Z")

</div>

Code Snippets are saved in a file called “CodeSnippets.dat”. Code Templates are saved in a series of .sql files. All of these files are located directly in  
the User Files folder

**From:** damir.vadas\_531 [[mailto:bounce-damirvadas\_531@toadworld.com](mailto:bounce-damirvadas_531@toadworld.com)]

**Sent:** Monday, November 25, 2013 8:03 AM

**To:** [toadoracle@toadworld.com](mailto:toadoracle@toadworld.com)

**Subject:** RE: [Toad for Oracle - Discussion Forum] Location of Code Snippets and Code Templates files

**[RE: Location of Code Snippets and Code Templates files](http://www.toadworld.com/products/toad-for-oracle/f/10/p/20820/42767.aspx#42767)**

Reply by damir.vadas\_531

Aci,

AFAIK, these entries are saved in “LexLib.lxl” file (%USERPROFILE%\AppData\Roaming\Quest Software\Toad for Oracle\12.1\User Files).

So if you create a file link (mklink) which should point to some shared folder, this might be a workaround for your case.

Brg

Damir Vadas

To reply, please reply-all to this email.

[Stop receiving emails](http://www.toadworld.com/products/toad-for-oracle/f/10/t/20820.aspx?subscribe=false) on this subject.

Or [  
Unsubscribe from Toad for Oracle - General](http://www.toadworld.com/products/toad-for-oracle/f/10.aspx?subscribe=false) notifications altogether.

Toad for Oracle - Discussion Forum

[Flag](http://www.toadworld.com/products/toad-for-oracle/f/10/p/20820/42767.aspx?AbuseContentId=fe64cdd0-5314-4269-b293-7474dc2ec9a9&AbuseContentTypeId=f586769b-0822-468a-b7f3-a94d480ed9b0&AbuseFlag=true)  
this post as spam/abuse.

---

<div class="post-metadata">

**Author:** ![ButtonPusher](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/buttonpusher/32/147_2.png) [@ButtonPusher](https://forums.toadworld.com/u/ButtonPusher)\
**Post date:** [November 25, 2013, 5:56am UTC](https://forums.toadworld.com/t/location-of-code-snippets-and-code-templates-files/27764/9 "2013-11-25T05:56:48Z")

</div>

Correction, Damir is correct about code templates, I thought you were referring to something else before I view your screen capture.

**From:** Brad Boddicker [[mailto:bounce-ButtonPusher@toadworld.com](mailto:bounce-ButtonPusher@toadworld.com)]

**Sent:** Monday, November 25, 2013 8:54 AM

**To:** [toadoracle@toadworld.com](mailto:toadoracle@toadworld.com)

**Subject:** RE: [Toad for Oracle - Discussion Forum] Location of Code Snippets and Code Templates files

**[RE: Location of Code Snippets and Code Templates files](http://www.toadworld.com/products/toad-for-oracle/f/10/p/20820/42777.aspx#42777)**

Reply by Brad Boddicker

Code Snippets are saved in a file called “CodeSnippets.dat”. Code Templates are saved in a series of .sql files. All of these files are located directly in  
the User Files folder

**From:** damir.vadas\_531 [[mailto:bounce-damirvadas\_531@toadworld.com](mailto:bounce-damirvadas_531@toadworld.com)]

**Sent:** Monday, November 25, 2013 8:03 AM

**To:** [toadoracle@toadworld.com](mailto:toadoracle@toadworld.com)

**Subject:** RE: [Toad for Oracle - Discussion Forum] Location of Code Snippets and Code Templates files

**[RE: Location of Code Snippets and Code Templates files](http://www.toadworld.com/products/toad-for-oracle/f/10/p/20820/42767.aspx#42767)**

Reply by damir.vadas\_531

Aci,

AFAIK, these entries are saved in “LexLib.lxl” file (%USERPROFILE%\AppData\Roaming\Quest Software\Toad for Oracle\12.1\User Files).

So if you create a file link (mklink) which should point to some shared folder, this might be a workaround for your case.

Brg

Damir Vadas

To reply, please reply-all to this email.

[Stop receiving emails](http://www.toadworld.com/products/toad-for-oracle/f/10/t/20820.aspx?subscribe=false) on this subject.

Or [  
Unsubscribe from Toad for Oracle - General](http://www.toadworld.com/products/toad-for-oracle/f/10.aspx?subscribe=false) notifications altogether.

Toad for Oracle - Discussion Forum

[Flag](http://www.toadworld.com/products/toad-for-oracle/f/10/p/20820/42767.aspx?AbuseContentId=fe64cdd0-5314-4269-b293-7474dc2ec9a9&AbuseContentTypeId=f586769b-0822-468a-b7f3-a94d480ed9b0&AbuseFlag=true)  
this post as spam/abuse.

To reply, please reply-all to this email.

[Stop receiving emails](http://www.toadworld.com/products/toad-for-oracle/f/10/t/20820.aspx?subscribe=false) on this subject.

Or [  
Unsubscribe from Toad for Oracle - General](http://www.toadworld.com/products/toad-for-oracle/f/10.aspx?subscribe=false) notifications altogether.

Toad for Oracle - Discussion Forum

[Flag](http://www.toadworld.com/products/toad-for-oracle/f/10/p/20820/42777.aspx?AbuseContentId=0c56fd05-a6ad-4d10-bb07-5ac74d56536f&AbuseContentTypeId=f586769b-0822-468a-b7f3-a94d480ed9b0&AbuseFlag=true)  
this post as spam/abuse.

---

<div class="post-metadata">

**Author:** ![acip\_296](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@acip\_296](https://forums.toadworld.com/u/acip_296)\
**Post date:** [November 25, 2013, 8:46am UTC](https://forums.toadworld.com/t/location-of-code-snippets-and-code-templates-files/27764/10 "2013-11-25T08:46:31Z")

</div>

Thank you all for your answer and suggestions. All this will help me a lot for sure.

Best regards!
