Batch is a programming language. It is used to create script files executable on Windows operating system. Normally, normally these files have an extension of . bat or *.
This is a terrible and fake way of compiling, there is other methods hopefully this gives you ideas.