Add a command-line batch file as a custom eventCopy link to this sectionLink to this section copied!

IntroductionCopy link to this sectionLink to this section copied!

A batch file is a script file that contains a list of commands that are executed in a predetermined order, frequently without the need for human input or participation.

.bat files are frequently used to load applications, execute numerous processes at the same time, and complete routine or repetitive activities in an automated way.

Add a bat file as an eventCopy link to this sectionLink to this section copied!

It is possible to create a custom event based on a batch file you created. Depending on your script, the batch file can or can not accept command line arguments.

Bat file event

This event is equivalent to running the sample.bat param1 param2 from a command-line console, prior or post build-time depending on how you created the event.

TipIn case your script doesn't require command-line arguments leave the "Arguments" field blank.