4 ms·
cmd is rewritten. Most of DOS was in assembly language. Most of NT is not. At one point cmd maybe contained some straightforward translation to C of some pieces
by temac 6y ago
cmd is rewritten. Most of DOS was in assembly language. Most of NT is not. At one point cmd maybe contained some straightforward translation to C of some pieces of assembly, but I'm not sure (I'm sure it was a mess though; it may have been cleaned up a little now)
But cmd is surely quite compatible with command.com. With more capabilities, but still very compatible. And a deceivingly close user interface.
- bonzini 6y agoYeah I didn't mean a descendant source code-wise. But I would say that DOS is more the 16-bit API than COMMAND.COM.
- mixmastamyk 6y agoIt was a primitive program loader. msdos.sys, io.sys, and command.com Source is interesting, I took a look: https://github.com/microsoft/MS-DOS/tree/master/v2.0/source https://github.com/microsoft/MS-DOS/tree/master/v2.0/source