Copy Directory

Copies a directory (or nested directories) to a specified file system location.

 

Input Arguments

 

0

Directory Path

Source Directory

The directory to copy.

1

Directory Path

Destination Directory

The directory inside which the source directory should be copied.

2

Boolean

Replace Existing?

Indicates whether existing files should be over-

written if they conflict with files being copied.

3

Boolean

Show Progress?

Indicates whether a progress dialog should be displayed during the copy operation.

 

Return Arguments

None.

 

Returned Status

 

SUCCESS

The directory was copied successfully.

FAILURE

The source directory could not be found or copied.

 

Remarks

Directories can be copied relative to the running MP’s directory by using the relative path symbol. For example, to copy mySubdirectory in the current MP’s folder, use .\mySubdirectory as the source directory path.