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.

  Name Description
Public method Static member CreateDirectory(String) Creates all directories and subdirectories in the specified path unless they already exist.
Public method Static member CreateDirectory(String, DirectorySecurity) Creates all the directories in the specified path, unless the already exist, applying the specified Windows security.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft