Thats because you are trying to run a 16 bit program in a 32 bit environment. Use CMD, like byoung said, it is the same thing.
You do realize that DOS dosent exist in XP, right? It is now a program that Windows runs, rather than an operating system that runs a program (Windows).