DirCreate

From AutoIt Wiki

Jump to: navigation, search

Creates a directory/folder. Adapted from AutoIt docs.

Contents

[edit] Syntax

DirCreate("path")

[edit] Parameters

pathPath of the directory to be created. Trailing backslashes are not required.

[edit] Return Value

Success: Returns 1.
Failure: Returns 0 if an error occurs.

All parent directories will also be created if they do not already exist.

[edit] Example

DirCreate("C:\Test1\Folder1\Folder2")

[edit] Related Functions

DirRemove FileCopy DirMove DirCopy DirGetSize

Personal tools