Running batch scripts

Is it possible to run batch scripts in a procedure? I think “Application Installer” action is the only way for now, am I correct?

Hi,

I believe, you can use shell execute for that. (https://help.comodo.com/topic-289-1-719-8563-Managing-Procedures.html)

Ilker

Shell execute is suitable for sequential commands, but not when there’s logic (if, jump) or loops.

Were you able to figure out how to run a batch script that isn’t on the the workstation?

Hi Doveroh,

You can place the batch file on a shared network drive and use the correct path for the file.

Hello,

I can’t because the agent isn’t on the same network, it is WAN.

Hello,

Creating a procedure that contains 2 actions (Transfer File (Source and Destination) and Shell Execute) should do the trick.

Unless I misunderstood what you are trying to accomplish…