FileCreateDir

Creates a folder.

FileCreateDir, DirName

Parameters

DirName

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

In v1.1.34 and older, note that this command does not support forward slashes (/) or double period (..).

Error Handling

[v1.1.04+]: This command is able to throw an exception on failure. For more information, see Runtime Errors.

ErrorLevel is set to 1 if there was a problem or 0 otherwise.

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

Remarks

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

FileRemoveDir

Examples

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

FileCreateDir, C:\Test1\My Images\Folder2