Skip to content

TSTool / Command / CreateFolder


Overview

The CreateFolder command creates a folder (directory).

Command Editor

The following dialog is used to edit the command and illustrates the command syntax.

CreateFolder

CreateFolder Command Editor (see also the full-size image)

Command Syntax

The command syntax is as follows:

CreateFolder(Parameter="Value",...)

Command Parameters

Parameter                           Description Default          
Folder
required
The name of the folder to create, typically a path relative to the command file. Can be specified using ${Property}. None - must be specified.
CreateParentFolders Indicate whether to create parent folders if they do not exist:
  • False - do not create parent folders, generate a warning
  • True - create parent folders if they do not exist
False
IfFolderExists Indicate an action if the folder exists:
  • Ignore - ignore and do not warn
  • Warn - generate a warning message
  • Fail - generate a failure message
Warn

Examples

See the automated tests.

Troubleshooting

See Also