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:

Introduced in 2007
 (6.0)