Share via


Creating a Copy Result Task

Note  This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.

Tasks perform the work of a job. A Copy Result task copies files from a location on the client computer to a remote destination. For more information about tasks, see Basic Task Concepts.

To define a Copy Result task

Note  This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.

  1. Create or edit a Copy Result task within a job.

  2. For some tasks, it might be acceptable for the task to succeed eventually, even if the task does not succeed the first time it is run. For example, it might be appropriate to retry a task that uses an unstable network connection.

    If this task should be rerun when it fails, provide the following information:

    1. In the On failure, retry the task x times box, enter the number of times that the task should be rerun. If the task has not passed after it has been rerun the specified number of times, the task will fail.

    2. In the On failure, retry the task x times box, enter the number of times that the task should be rerun. If the task has not passed after it has been rerun the specified number of times, the task will fail.

  3. On the Copy Results tab, click Add.

  4. In the Add Copy Result dialog box, enter the path to the files on the client computer to copy.

    Note   The source path can contain wildcards.

  5. If the files to be copied are in the system-generated directory that was created for the job, select Preface source with Jobs working directory.

  6. To specify the name of a subdirectory to contain the copied files, select Sub Folder, and then enter the name for the directory.

  7. Select Prefix destination filename with computer name to include the name of the client computer that the files are copied from in the name of each destination file.

  8. Select Exact Destination to use the source file's name as the name of the destination file.

    Note   If you select Exact Destination, the source path cannot contain wildcards.

    Note   You can only specify Exact Destination if you provided a Sub Folder.

  9. If this task should copy all subdirectories below the source directory, select Copy Recursively.

  10. Click OK twice to close the Add Copy Result dialog box and return to the New Job window.

 

 

Build date: 9/14/2012