Click or drag to resize

DirectoryCreateDirectory Method (String)

Creates all directories and subdirectories in the specified path unless they already exist.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static DirectoryInfo CreateDirectory(
	string path
)

Parameters

path
Type: SystemString
The directory to create.

Return Value

Type: DirectoryInfo
An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists.
Exceptions
See Also