Run exe file or bat file after compilation with Visual Studio 2010

I would execute an exe file or bat file after the compilation of the program in C ++ is completed. How can i do this?

EDIT 1 This is my actual command line:

start "C:\mypath\myexe.exe myarguments" 
+4
source share
2 answers

Check out the Build Events section of the C ++ project configuration settings. Here you can define the commands to run before building the project, before starting the linker and after creating the project.

+3
source

Check the command line Event Build, in the project properties.

0
source

Source: https://habr.com/ru/post/1341504/


All Articles