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 Language. 1991. "DeleteContents." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DeleteContents.html.

APA

Wolfram Language. (1991). DeleteContents. Wolfram Language & System Documentation Center. Retrieved from 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 ]}