CreateIntermediateDirectories

CreateIntermediateDirectories

CreateDirectory 和相关函数的一个选项,指定是否在指定的目录路径下生成中间目录.

范例

基本范例  (1)

在目录下生成一个子目录:

按需要创建一个目录和一个子目录:

检查新目录的存在:

删除目录:

目录已不再存在:

Wolfram Research (2007),CreateIntermediateDirectories,Wolfram 语言函数,https://reference.wolfram.com/language/ref/CreateIntermediateDirectories.html.

文本

Wolfram Research (2007),CreateIntermediateDirectories,Wolfram 语言函数,https://reference.wolfram.com/language/ref/CreateIntermediateDirectories.html.

CMS

Wolfram 语言. 2007. "CreateIntermediateDirectories." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/CreateIntermediateDirectories.html.

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_createintermediatedirectories, organization={Wolfram Research}, title={CreateIntermediateDirectories}, year={2007}, url={https://reference.wolfram.com/language/ref/CreateIntermediateDirectories.html}, note=[Accessed: 22-November-2024 ]}