Boot into safe mode. Then Start>run>msconfig, go to startup tab and see if you can uncheck the running of the command processor (CMD) or possibly the running of a batch-file (.bat).
It would be interesting to see the parameters of the command (what file is being executed) and to know why it was created and who/what program did it.

Post again for more help if needed.