A Copied File is used to copy an existing file as-is into a new location. With a copied file only the Output File Name and Output Path can have rules built. No data inside the document can be changed. Any type of file can be copied.
The output file name rule is used to determine the name of the copied file, or to prevent the file from being copied.
Rule | Meaning |
---|---|
"DELETE" | Prevents the file from being copied. |
DWSpecificationId | Creates a copy of the file with the specification number used for the file name - for example, "Leaflet.doc" would become "1.doc" if it was generated by the first specification. |
The output path rule controls the folder that the file is copied to.
Rule | Meaning |
---|---|
"" | If the rule is blank the file will be copied to the Specification Path which is applied in the Specification Settings. |
"\Documents" | If the Specification Path is set to "C:\DriveWorksPro\"&DWSpecificationID the copied file will be stored in C:\DriveWorksPro\1\Documents if it was generated by the first specification. |
"C:\DriveWorksPro\Generated Documents" | The file will be copied to C:\DriveWorksPro\Generated Documents |