Show: Delphi C++
Display Preferences

System.IOUtils.TDirectory.CreateDirectory

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class procedure CreateDirectory(const Path: string); static;

C++

static void __fastcall CreateDirectory(const System::UnicodeString Path);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.IOUtils.pas
System.IOUtils.hpp
System.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 Examples


Personal tools
In Other Languages
Previous Versions
Assistance