cmder which is in fact preconfigured ConEmu, do not support Default terminal feature properly.
So, you may either use (and configure) bare ConEmu or ensure that cmder is started before you run your batch file.
Anyway, you have to enable beforementioned DefTerm feature.