Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 7 Next »

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

  • No labels