Try issuing a "pause" at the end of the login.cmd script to see any DOS error.