Home Search

DriveWorks Pro 22
Copy File

Send Feedback

Copy File

Copies a file to a new location.


(Name)The unique name for this task.
DestinationThe path to the destination.
SourceThe path to the source file to copy.

DriveWorks will resolve relative paths from the currently driven component's path.

For example:

If the path is:

MyComponents\Parts\MyPart.sldprt (not fully qualified)

and the models target path is:


DriveWorks will attempt to find the path at:


OverwriteTRUE to overwrite the file if it already exists.
MoveTRUE to move the file, FALSE to copy it.
If this Generation Task is not in the Post Close Task Sequence and the source file is in use by another program (for example SOLIDWORKS), the Task will fail.

Generation Sequence

This Task can be added to the following Generation Sequence(s):

  • Pre Copy (will be run before the master file is cloned)
  • Post Copy (will be run after the master file is cloned, but before opening in SOLIDWORKS)
  • Pre Drive (will be run before the Main Drive Sequence)
  • Post Drive (will be run after the Main Drive Sequence)
  • Pre Close (will be run before the SOLIDWORKS file is closed)
  • Post Close (will be run after the SOLIDWORKS file is closed)