So, I've made a little batch file that simply compiles all the code I need and moves it to their right places. I've seen some people using the compile function to launch something like the batch file I've made, but I can't seen to figure out how they do that. Also, I need the launch environment to be the same as the batch file is. This is the batch I have.
@echo off mkdir ..\..\build pushd ..\..\build cl -Zi ..\alfa\code\win32_alfa.cpp user32.lib gdi32.lib popd
There's also a second feature I would like to know if it's possible. Can I somewhat search the folders near where my code is and if it finds the build.bat, launch it?