Commanders without any magic will Stay Behind Troops by default I think.
I am pretty sure they have Attack Closest. It's not once or twice I've lost a commander who I forgot to script, and they then did proceed to run amok towards the enemy while friendly troops had Hold&Attack...
__________________
There are three kinds of people: Those who can count and those who can not.