[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Creates a new directory with the specified name.
Source position: lazfileutils.pas line 126
function CreateDirUTF8( |
const NewDir: string |
):Boolean; |
NewDir |
|
Name for the new directory. |
True if the new directory is successfully created.
CreateDirUTF8 is a Boolean function used to create a new directory in the local file system with the specified name. For the Windows environments, the value in NewDir is converted to wide string format and passed to the CreateDirectoryW function in the Windows unit. For UNIX-like environments, CreateDir in SysUtils is used to create the new directory with the specified name.
The return value is True if the new directory is successfully created.
An error can occur if a directory with the specified name already exists in the local file system.
Version 3.2 | Generated 2024-02-25 | Home |