DirCreate

From AutoIt Wiki

Jump to: navigation, search

Creates a directory/folder. Adapted from AutoIt docs.

Contents

Syntax

DirCreate("path")

Parameters

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

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.

Example

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

Related Functions

DirRemove FileCopy DirMove DirCopy DirGetSize

Personal tools