DirCreate

Creates a folder.

DirCreate DirName

Parameters

DirName

Type: String

Name of the directory to create, which is assumed to be in A_WorkingDir if an absolute path isn't specified.

Error Handling

An OSError is thrown if an error occurs.

A_LastError is set to the result of the operating system's GetLastError() function.

Remarks

This function will also create all parent directories given in DirName if they do not already exist.

DirDelete

Examples

Creates a new directory, including its parent directories if necessary.

DirCreate "C:\Test1\My Images\Folder2"