I have described in the guide how you can compile with batch files. In my real environement I am using a more powerful batch for updating MAMEdev Tools, updating source and compiling MAME/MAMEui/MESSui/HBMAME/Arcade 64 or 32bit version.
Feel free to use it at your own risk. Everything is described in the batch-file and PDF-document.
--- Read it first before execute it! ---
Download latest script: