You use a different command to run the Command Line Utility in batch mode.
execute-commandXMLFile xmlFileName
Where xmlFileName is either the full path to the file containing the commands to be executed, or the relative path to that file from the Command Line Console.