XenoGuard Documentation

Create

Actions » Windows » Directory » Create 

The action Create makes a directory within the specified path inside the Windows environment.


[-] Hide
  1. Open the Windows node in the Workspace Explorer.
  2. Open the Directory node, select the Create action.

Parameters:

The action has the following input parameters:


name Description
Directory Path
The path of the directory to be created.

Allowed Context Scopes
 [Fixed, Local, Global]
Allowed Context Type
 [Variable, Parameter, Enum]

Results:

The action returns the following results:


name
description
Path
The full path of the created directory.

Allowed Context Scope [Fixed]

Warning An error occurs when the startIndex is larger than the length of a string.

Example 1 (Generate subfolders in a directory):

This example makes three sub-folders named images, documents, and app files in a specified directory. The path for the sub-folders is iterated from an Enum list and after creating the sub-folder directories a notice is then displayed via Message Box.


See other directory operations: