Creates a subdirectory or subdirectories on the specified path with the specified security. The specified path can be relative to this instance of the System.IO.DirectoryInfo class.
![]()
The last directory specified in path.
Any and all directories specified in path are created, unless some part of path is invalid. The path parameter specifies a directory path, not a file path. If the subdirectory already exists, this method does nothing.
Path names are limited to 248 characters.
For a list of common I/O tasks, see Common I/O Tasks.