In your reneder global, set your output type to AVI this cannot be done with Mental ray btw. set your start frame and your end frame, then at the top of the maya window in the status bar choose rendering. this will bring up your render option menus. under render select -- batch render-- and watch your script editor for details. thats it..
<html><font size=2>
<font color="blue">
And after calming me down with some orange slices and some fetal spooning,
E.T. revealed to me his singular purpose.
--TOOL, 10,000 Days---
</font></pre>
</html>