XenoGuard 4.0 Documentation
Copy
ActionStep Reference » Windows » Directory » Copy
The ActionStep Directory Copy duplicates the contents of a directory and transfers them into another directory.
[-] Hide
- Open the Windows node in the Workspace Explorer.
- Open the Directory node, select the Copy ActionStep.
Parameters:
The ActionStep 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 ActionStep 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: