what's the difference btwn cmd and command

PCFetish

Senior member
Aug 30, 2002
500
0
0
what's the difference between

cmd.exe and command.com ?

I was using ipconfig
I usually type in ehter cmd or command in Run
i thought i was using same thing but i guess not?
 

Yomicron

Golden Member
Mar 5, 2002
1,735
1
81
cmd.exe is the native 32bit NT command interpreter, while command.com is the old 16bit DOS version. There are some differences, but I'm not sure of what they all are. cmd.exe supports long file names, whereas command.com does not. Unless you are having problems with 16bit program compatibility, you should just use cmd.exe.
 

WobbleWobble

Diamond Member
Jun 29, 2001
4,867
1
0
Originally posted by: Sideswipe001
None.

Cmd and Command do the same thing.

Wrong. What Yomicron said is pretty much correct. To add to that, cmd.com also has tab completion. And because cmd.com is a 32-bit process, you should use it over command.com
 

poppyq

Senior member
Oct 20, 2003
255
0
0
Actually cmd is just an interface to the command interpreter, it's not the interpreter itself, but yes, it's much better
 

ipsquitch

Junior Member
Dec 9, 2003
5
0
0
Originally posted by: Yomicron
cmd.exe is the native 32bit NT command interpreter, while command.com is the old 16bit DOS version. There are some differences, but I'm not sure of what they all are. cmd.exe supports long file names, whereas command.com does not. Unless you are having problems with 16bit program compatibility, you should just use cmd.exe.

Small addition to the above, cmd also supports cut and paste. Very useful.

 

beatle

Diamond Member
Apr 2, 2001
5,661
5
81
cmd is also faster to start (since it doesn't require as many keystrokes). :p