Hello
There is no easy way to execute a specified batch file (executable) prior to building from the IDE.
You will have to start the executable manually before building.
Alternatively you can decide to build using a make file instead of using the IDE for building.
Inside of a make file the target BEFORE is executed prior to the build.
CrasyCat