How can I call the command to execute the whole batch file



I want to start a process in another application to execute a batch file of maxima, what should I call? 

just like this: 

void call_maxima(FILE* script)
{
???? unix("");// put the calling function here.
}



      ___________________________________________________________ 
  ????????????????? 
http://card.mail.cn.yahoo.com/