DeleteDirectory

DeleteDirectory["dir"]

删除指定目录.

更多信息和选项

范例

打开所有单元关闭所有单元

基本范例  (1)

创建一个新目录:

检测新目录存在:

删除目录:

目录不再存在:

范围  (1)

删除一个指定为 File 对象的目录:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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