System.SysUtils.CreateDir

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CreateDir(const Dir: string): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall CreateDir(const System::UnicodeString Dir);

Properties

Type Visibility Source Unit Parent
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Creates a new directory.

CreateDir creates a new directory. The return value is True if a new directory was successfully created or False if an error occurred.

See Also


Code Examples