File.createDirectory

Overview | Methods | This Package | All Packages

File.createDirectory

Creates a new directory.

Syntax

public static void createDirectory( String path )

Parameters

path

The path of the directory to create.

Exceptions

WinIOException thrown if an error occurs.

Remarks

Except for the last element, the specified path must designate an existing directory. The last element in the path specifies the name of the new directory to create. It is an error if a file or directory with that name exists.

See Also   createDirectories, removeDirectory