This is the way I go about it, its not truely from the command line but it makes it so you dont have any programs open when your rendering (just the rendering engine that your using at the time)
https://www.jawa9000.com/technical/ba...-rendering.htm
if you look in the help files for render flags it has a list of all the commands you put in to render etc.
I think that the help files also have some info on rendering from the command line.
"No pressure, no diamonds" Thomas Carlyle