Click yes to rewrite the batch file. Then show us the contents of that file.
You don't need to compile Rhapsody instruments though, just export them directly Export >> Export Project
Also you don't need to add your includes the Rhapsody boilerplate folder, just leave them in the Scripts folder (or a sub-folder of your choice). Not that it will hurt to put them in the boilerplate folder though.