I would like to know how to run a Python command inside a batch file and store the result in an enviroment variable. The aim is to carry out several floating point operations, as batch files only allow integer operations.
I need to read some strings (real numbers) using the bat file, then pass those strings to python variables, convert the strings into doubles with python, carry out several simple operations (multiplications and divisions) and finally store the results of the operations in new batch variables.