SQLSERVERAGENT How to create Command File

  • Hello Again,

    Does anyone know how to create a command file under the step section for a Sql Server Agent Job? I have an attached file with screenshot.

  • You have selected the wrong job type. Your job type is for running an SSIS package. To run a batch file or a command line, choose the Operating System (CmdExec) job step type.

  • Please give me an example...

  • In the Job Step Properties dialog, change the Type value to "Operating system (CmdExec)" and put the command you want to run in the Command text box.

  • Thank you for you response and example. I am currently testing and I will let you know the outcome, again thanks.

Viewing 5 posts - 1 through 4 (of 4 total)

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