It appears to fail because of the presence of `/c` in the path which is a command prompt switch, because it has stripped the 'c' in the error: 'mTC_a1261.dir' is not recognized as an internal or external command,