I'm running Windows 7 Home Premium Service Pack 1.
The first line printed when I open a cmd window is:
Microsoft Windows [Version 6.1.7601]
Any ideas why?
What you are seeing is the version and build number (which is different to the operating system name).
For example, here are the names and version numbers of the most recent Windows operating systems. The second columns is the Version / Build / Date.
You can find a full list at Windows Version Numbers.
Please note that as per the comment by magicandre1981 this list may not be accurate.
Windows Confidential: Numerology of the build by Raymond Chen (Principal Software Design Engineer at Microsoft).
The Old New Thing: Practical Development Throughout the Evolution of Windows by Raymond Chen (Principal Software Design Engineer at Microsoft).
The version is correct.
Remember, the number in Windows 7 is the one that is used in marketing, not the actual internal version used in development.
cmd
is showing the Windows NT version, which is 6.1 for Windows 7. The last number is, of course, the build number.