This documentation is archived and is not being maintained.

Directory.CreateDirectory Method

Creates all the directories in a specified path.

Name Description
Directory.CreateDirectory (String) Creates all directories and subdirectories as specified by path.

Supported by the .NET Compact Framework.

Directory.CreateDirectory (String, DirectorySecurity) Creates all the directories in the specified path, applying the specified Windows security.