Execute Process Task

  • I would like to execute this Statement in Command Prompt.

    "copy C:\Temp\Header.txt+C:\Temp\Data.txt" through Execute Process Task in SSIS.

    I added an Execute Process task to control flow, and

    in the Task Editor

    RequireFullFileName :: False

    Executable :: Copy

    Aruguments :: C:\Temp\Header.txt+C:\Temp\Data.txt

    Working Directory :: Empty

    When I execute this Task...I got this Error "[Execute Process Task] Error: An error occurred with the following error message: "The system cannot find the file specified".

    I think for "COPY" in the Executable option is the issue.

    Please help me on this.

    Thanks

  • You have to put "C:\Windows\System32\cmd.exe" in executable

    Alex S
  • If you're trying to copy a file to a destination, why not use the File System Task? it has a copy function already built in, and avoids you needing to mess around with executing a process.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply