This documentation is archived and is not being maintained.

Directory.CreateDirectory Method

Creates all the directories in a specified path.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Public method Static member CreateDirectory(String) Creates all directories and subdirectories in the specified path.
Public method Static member CreateDirectory(String, DirectorySecurity) Creates all the directories in the specified path, applying the specified Windows security.