Is is possible to run Mathematica in the bach mode on Windows?
I am going to run Mathematica from command line on Windows.
On unix I can run something like that:
math -noinit -batchinput -batchoutput < cmmds.txt > results.txt
When I am running that on Windows then I am getting some interactive command line.
I just would like to do calculations and exit from the program.
Is it possible to do that on Windows?
I have an input file with a Mathematica commands (eg. cmmds.txt). Then I would like to run one command
e.g. math cmmds.txt
and get the results in some output file of on screen (without Mathematica GUI). Is it possible to do that on Windows?