CreateDirectory()

Syntax

Result = CreateDirectory(DirectoryName$)
Description
Creates a new directory.

Parameters

DirectoryName$ The name of the new directory.

Return value

Returns nonzero if the operation was successful or zero if it failed.

Remarks

This function fails if the parent directory of the new directory does not exist. To create multiple levels of directories, this function has to be called for each directory level to create separately.

See Also

CopyDirectory(), ExamineDirectory(), DeleteDirectory()

Supported OS

All

<- CopyFile() - FileSystem Index - DeleteDirectory() ->