I usually use a batch script to render multiple files. For example to render a couple of files in mental ray:
Render -r mr /path/to/file1.mb
Render -r mr /path/to/file2.mb
I usually have to use the -r mr to call Mental Ray even if Mental Ray is the chosen render in the render settings of the saved file. not sure why this is. anyway this is not a problem since I can specify in the batch script. My question is, what if I'm using render layers? I have tested this out, and all the files render using Maya software despite the render settings of the various layers. Is there a render flag that allows the the script to access the render setting? Thanks for reading.