DeleteContents

DeleteContents

DeleteDirectory 的一个选项,指明目录的内容是否要自动地删除.

更多信息

范例

基本范例  (1)

复制一个目录:

目录中的文件列表:

目录内容不能被删除:

DeleteContents->True 自动地删除内容:

目录已不存在:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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