Vicon Shogun banner

Description

Creates a file system directory/folder, including all the folders that are necessary to satisfy the path to the directory. This command doesn't fail, but returns false if it can't create the directory.

Functional area

System

Command syntax

Syntax

createDir "folderPath"

Arguments

NameTypeRequiredComments
folderPathstringyesPath to the folder to create. Use forward slashes.

Flags

None

Return value

boolean

Returns true if the directory was successfully created, or false if it wasn`t.

Examples

// Create a folder on your D: drive. The final
// folder will be called "Path"
createDir "D:/Some/Long/Folder/Path/";

Additional information

Related commands