| [Overview][Constants][Types][Procedures and functions][Variables][Index] |
Creates a new directory with the specified name
Source position: lazfileutils.pas line 122
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 enviroment, the value in NewDir is converted to wide string format and passed to the CreateDirectoryW function in the Windows unit. For UNIX-like enviroments, 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.
| lazarus-ccr.sourceforge.net |