executing a batch command through SSIS Job

后端 未结 2 893
长发绾君心
长发绾君心 2021-01-04 10:31

I need to execute an batch file through SSIS job. previously we used to do this in cmd prompt, is there any way that we can run batch file through ssis job

2条回答
  •  不知归路
    2021-01-04 10:53

    First of all, consider if you really need to execute a batch file. Maybe there is a built in way to achieve what you need. For example if you are just moving/renaming files then you can use the FileSystemTask

    Otherwise, you can use the ExecuteProcessTask

    • This page shows all the options that can be configured for this task, i.e. the path to the batch file, arguments, etc.
    • This page shows how to set those properties.

提交回复
热议问题