CreateIntermediateDirectories

CreateIntermediateDirectories

is an option for CreateDirectory and related functions that specifies whether to create intermediate directories in a directory path specified.

Examples

Basic Examples  (1)

Create a subdirectory in a directory:

Create a directory and a subdirectory as needed:

Check the presence of the new directory:

Delete the directory:

The directory is no longer there:

Wolfram Research (2007), CreateIntermediateDirectories, Wolfram Language function, https://reference.wolfram.com/language/ref/CreateIntermediateDirectories.html.

Text

Wolfram Research (2007), CreateIntermediateDirectories, Wolfram Language function, https://reference.wolfram.com/language/ref/CreateIntermediateDirectories.html.

CMS

Wolfram Language. 2007. "CreateIntermediateDirectories." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CreateIntermediateDirectories.html.

APA

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