$TemplatePath

$TemplatePath

gives the default list of directories to search in attempting to find a template file.

Details

  • The structure of directory and file names may differ from one computer system to another.
  • $TemplatePath is used both for files in FileTemplate and for all related template functions.
  • The setting for $TemplatePath can be overridden in specific functions using the Path option.
  • The directory names are specified by strings. The full file names tested are of the form FileNameJoin[{directory,name}].
  • $TemplatePath can contain nested sublists.

Examples

Basic Examples  (1)

Add a directory in which to look for files after all of the system defaults:

Add a directory in which to look for files before any of the system defaults:

Wolfram Research (2014), $TemplatePath, Wolfram Language function, https://reference.wolfram.com/language/ref/$TemplatePath.html.

Text

Wolfram Research (2014), $TemplatePath, Wolfram Language function, https://reference.wolfram.com/language/ref/$TemplatePath.html.

CMS

Wolfram Language. 2014. "$TemplatePath." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$TemplatePath.html.

APA

Wolfram Language. (2014). $TemplatePath. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$TemplatePath.html

BibTeX

@misc{reference.wolfram_2024_$templatepath, author="Wolfram Research", title="{$TemplatePath}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/$TemplatePath.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_$templatepath, organization={Wolfram Research}, title={$TemplatePath}, year={2014}, url={https://reference.wolfram.com/language/ref/$TemplatePath.html}, note=[Accessed: 22-December-2024 ]}