[m] fix of variable substitution in batch file