XenoGuard Documentation

Copy

Actions » Windows » Directory » Copy 

The action Copy duplicates the contents of a directory and transfers them into another directory.


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

Parameters:

The action has the following input parameters:


name Description
Source Directory Path
The path name of the directory to be copied from.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Type [Variable, Parameter, Enum]
Target Directory Path
The path name of the destination directory.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
Include Subdirectories
Determines whether the subdirectories should be included. 

Allowed Context Scopes [Fixed, Local, Global]
Allowed Value
 [Boolean]
Override existing
Determines whether the existing files should be overridden.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Value [Boolean]

Results:

The action returns the following results:


name
description
File Count The total number of files copied to a directory.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Type 
[Variable, Parameter]
Files
The list of files that were added in the specified directory.

Allowed Context Scope [Fixed, Local, Global]
Allowed Context Type [Variable, Parameter]

Example 1 (Copy images from one directory to another):

This example copies the contents from the media directory and transfers the contents to a generated directory and subdirectory named Workspace and images. The Result File Count is then output via Message Box.


See other directory operations: