How to recognize my Win7 version(Ex: Ultimate or Professional) in the command line? Is there any built-in command can do this? Thanks.
Not sure if the output will work for you but this will give you the information you asked for. Code: REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName
Guys, do not look for the fifth leg of the cat.............they only have 4 (ok, the lenght on the male one does not make the fifth either). Remember since Win NT, 2000, XP, Vista and 7 are ALL NT. So the ancient command WINVER will tell you much faster and simpler than anything else. So in Vista START and in the Start seach box put WINVER and hit enter. Done ! I do not like Heineken but Frankziskaner. Danke !
Yea, that is right it is Code: "REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "ProductName" I use this command in my self-activating script project.