That file calls alfresco.bat. I'd open up alfresco.bat and then copy and paste each line into the command prompt until I saw which one was breaking.
I don't know if this is it, but sometimes when you install software in a directory that contains spaces, you can get some broken command-line scripts. Just a thought.