Everything you need to know about automating Monarch via the command line is available in the online help. Look for "command lines".
Having said that, I recognized that this task a bit confusing if you're new to it (and even if you're not :eek:), so I took it upon myself to build a tool which helps with creating Monarch batch files.
You can [URL="http://********************/tips/monarch-batch-file-generator"]download my Monarch Batch File Generator from my site[/URL]. Developed with Excel, it's a free wizard style utility. You supply the file names and such, make some choices along the way based on what's available in your models and projects, and it creates your batch file for you.
The programming behind it is not protected in any way, so you can examine how it works behind the scenes.
I hope that you find it to be as useful as many others have kindly told me that it was for them.