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 event
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.
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.
In case your script doesn't require command-line arguments leave the "Arguments" field blank.