From XE API Documentation
Jump to: navigation, search


class procedure CreateDirectory(Path: string); static;


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


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 of the directory being created.

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

See Also

Code Samples