IOUtils.TDirectory.CreateDirectory

From XE API Documentation
Jump to: navigation, search

Delphi

class procedure CreateDirectory(Path: string); static;

Properties

Type Visibility Source Unit Parent
procedure public IOUtils.pas IOUtils TDirectory

Description

Creates a new directory at the given path.

Use CreateDirectory to create a new directory at the given path. If the directories given in the path do not yet exist, CreateDirectory attempts to create them. The following table lists the parameters expected by this method.



Name Meaning

Path

Path of the directory being created.



Note:  CreateDirectory raises an exception if the given Path is invalid or contains invalid characters.

See Also

Code Samples