The Copy Folder task will copy or move an existing folder to a new location.
|Source||The path to source folder.|
|Destination||The path to destination folder.|
|Move||TRUE to move the folder, FALSE to copy it.|
|Overwrite||TRUE to overwrite the destination folder if it already exists, FALSE to leave it alone.|
|Title||Changes the Title (not the name) of the task.|
When this task is added the properties are static by default.
See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.
|Property name||Example rule||Example result||Meaning|
|Source||"[Machine Name]\Content\" & DWVariableFolderName||[Machine Name]\Content\CopyFolder||DriveWorks evaluates the rule and concatenates specified folder location text and folder name variable to identify the source folder.|
|Destination||"[Machine Name]\" & DWVariableGeneratedFolder||[Machine Name]\Generated||DriveWorks evaluates the rule and concatenates specified folder location text and folder name variable to create the destination folder path.|
|Move||MoveFolderReturn||True||If MoveFolderReturn=True, the folder would be moved to the new designated location, otherwise a copy of the folder would be made in the new location.|
|Overwrite||OverwriteFolderReturn||True||If the value coming from the Form Control OverwriteFolder is TRUE, the folder would replace any existing folder in the designated location with the same name, otherwise the folder would be copied/moved into the designated location as long as no folder with that name already existed.|