using maxima as a batch operation



This is an odd request but.. does anyone know how to do the following.


i want to be in Command Line (cmd.exe not maxima) and type the following in:

maxima someFunction(expression)
and then whilst still in cmd.exe get the output!

Anyone know if this is possible, if it's been implemented or if i'm
just being sillly!

Harry