cmd.exe versions

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
carlos
Expert
Posts: 503
Joined: 20 Aug 2010 13:57
Location: Chile
Contact:

cmd.exe versions

#1 Post by carlos » 17 May 2014 11:55

Hello. This post is about version of cmd.exe. Knowing the version of cmd.exe you can know of which version of windows is.

Windows XP Professional (x86) Version 2002:
Original, Service Pack 1a: 5.1.2600.0
Service Pack 2: 5.1.2600.2180
Service Pack 3: 5.1.2600.5512

Windows XP Professional x64 Edition Version 2003:
Service Pack 1: 5.2.3790.1830
Service Pack 2: 5.2.3790.3959

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: cmd.exe versions

#2 Post by foxidrive » 18 May 2014 00:23

Can you do it by knowing the time/date and size of cmd.exe as well?

npocmaka_
Posts: 517
Joined: 24 Jun 2013 17:10
Location: Bulgaria
Contact:

Re: cmd.exe versions

#3 Post by npocmaka_ » 18 May 2014 01:01

I can only add windows 8.1 enterprice version:

6.3.9600.16384

but i think VER output is more easier for checking. Also its not so easy to get the version of a binary. It can be done with MAKECAB ,WMIC and FILEVER from some of the toolkits ( so only MAKECAB method is universal)

carlos
Expert
Posts: 503
Joined: 20 Aug 2010 13:57
Location: Chile
Contact:

Re: cmd.exe versions

#4 Post by carlos » 18 May 2014 01:17

@foxidrive: the size of the files are variable.
For example the version 5.1.2600.5512 in the version in windows english native is 380 KB and the japanase native version is 475 KB, maybe this happen because it have different text message for help for example.

@npocmaka: thanks. the version are with you see the properties of the cmd.exe file

Also the versions for Windows XP Professional x64 Edition maybe are the same that Windows 2003 Server, because is based on it.
Last edited by carlos on 18 May 2014 01:41, edited 1 time in total.

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: cmd.exe versions

#5 Post by foxidrive » 18 May 2014 01:37

carlos wrote:@foxidrive: the size of the files are variable.
For example the version 5.1.2600.5512 in the version in windows english native is 380 KB and the japanase native version is 475 KB, maybe this happen because it have different text message for help for example.


Ahh yes, that is quite likely. Thanks for looking.

npocmaka_
Posts: 517
Joined: 24 Jun 2013 17:10
Location: Bulgaria
Contact:

Re: cmd.exe versions

#6 Post by npocmaka_ » 18 May 2014 01:48

carlos wrote:
@npocmaka: thanks. the version are with you see the properties of the cmd.exe file


I mean it's not so easy to get the version from command line -> http://stackoverflow.com/questions/1706 ... a/19830679

Post Reply