$PathnameSeparator

$PathnameSeparator

is a string used as a separator when full file and directory names are constructed.

Details

  • The default value is "\\" under Windows, and "/" elsewhere.
  • Functions such as FileNameSplit by default allow both \ and / as separators under Windows.

Examples

Basic Examples  (2)

The pathname separator on a Unix system:

$PathnameSeparator is used as a separator:

Wolfram Research (1991), $PathnameSeparator, Wolfram Language function, https://reference.wolfram.com/language/ref/$PathnameSeparator.html (updated 2008).

Text

Wolfram Research (1991), $PathnameSeparator, Wolfram Language function, https://reference.wolfram.com/language/ref/$PathnameSeparator.html (updated 2008).

CMS

Wolfram Language. 1991. "$PathnameSeparator." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2008. https://reference.wolfram.com/language/ref/$PathnameSeparator.html.

APA

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

BibTeX

@misc{reference.wolfram_2022_$pathnameseparator, author="Wolfram Research", title="{$PathnameSeparator}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/$PathnameSeparator.html}", note=[Accessed: 02-December-2022 ]}

BibLaTeX

@online{reference.wolfram_2022_$pathnameseparator, organization={Wolfram Research}, title={$PathnameSeparator}, year={2008}, url={https://reference.wolfram.com/language/ref/$PathnameSeparator.html}, note=[Accessed: 02-December-2022 ]}