$PathnameSeparator

$PathnameSeparator

是一种在构建全部文件和目录名时用作分隔符的字符串.

更多信息

  • 在 Windows 下缺省值为 "\\",其它情况为 "/".
  • 在 Windows 下,函数如 FileNameSplit 默认允许 \/ 两者作为分隔符.

范例

基本范例  (2)

在 Unix 系统下的路径名分隔符:

$PathnameSeparator 用作分隔符:

Wolfram Research (1991),$PathnameSeparator,Wolfram 语言函数,https://reference.wolfram.com/language/ref/$PathnameSeparator.html (更新于 2008 年).

文本

Wolfram Research (1991),$PathnameSeparator,Wolfram 语言函数,https://reference.wolfram.com/language/ref/$PathnameSeparator.html (更新于 2008 年).

CMS

Wolfram 语言. 1991. "$PathnameSeparator." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2008. https://reference.wolfram.com/language/ref/$PathnameSeparator.html.

APA

Wolfram 语言. (1991). $PathnameSeparator. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/$PathnameSeparator.html 年

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_$pathnameseparator, organization={Wolfram Research}, title={$PathnameSeparator}, year={2008}, url={https://reference.wolfram.com/language/ref/$PathnameSeparator.html}, note=[Accessed: 22-November-2024 ]}