Diff: cmd & command.com

Stuff that don´t fit in the other categories.
Post Reply
User avatar
hij-h-acker
suck-o-fied!
suck-o-fied!
Posts: 91
Joined: 24 Feb 2007, 17:00
17
Contact:

Diff: cmd & command.com

Post by hij-h-acker »

ppl say "cmd" n "command.com" are different..once i read somewhere if you wanna run DOS, then u've to run "command.com" from the Run Box n not "cmd".

Please can anybody here elaborate? :?


User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

cmd are for NT systems I believe and command.com are for older systems. Like Windows 98 uses command.com, and Windows XP uses cmd. I don't have Windows though so I can't confirm if any of them can be run on the other one.

But basically they are two tool names for the same thing.
"The best place to hide a tree, is in a forest"

User avatar
7A69
forum buddy
forum buddy
Posts: 24
Joined: 28 Dec 2008, 17:00
15

Post by 7A69 »

Command.com exists even in windows 7 beta and according to links posted by hiper the cmd is for 32bit programs and command.com is for comatibility with 16bit programs.
"The bottom line is actually quite simple: use CMD.EXE unless you know you need COMMAND.COM for compatibility with some older 16bit program. And even then, if you try and run a 16 bit program in CMD.EXE, it will typically run it within COMMAND.COM for you anyway, so you still may not need to know or care."

User avatar
hij-h-acker
suck-o-fied!
suck-o-fied!
Posts: 91
Joined: 24 Feb 2007, 17:00
17
Contact:

Post by hij-h-acker »

oh thanx guys, askleo link was pretty helpful, n i come 2 d conclusion dat both are more or less the same except for the compatibilty.

Post Reply