This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
BUILT-IN MATHEMATICA SYMBOL|See Also »

CreateIntermediateDirectories

CreateIntermediateDirectories
is an option for CreateDirectory and related functions that specifies whether to create intermediate directories in a directory path specified.
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:
Create a subdirectory in a directory:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Create a directory and a subdirectory as needed:
In[3]:=
Click for copyable input
Out[3]=
Check the presence of the new directory:
In[4]:=
Click for copyable input
Out[4]=
Delete the directory:
In[5]:=
Click for copyable input
The directory is no longer there:
In[6]:=
Click for copyable input
Out[6]=
New in 6