Bear in mind that cmd.exe is not DOS, nor is it part of DOS. cmd.exe is Windows NT's shell which emulates (to some extent) DOS's command.com, which is the command interpreter.

The feature overlap...