How to find out OS edition from command line?

  • Thread starter Thread starter Gene.
  • Start date Start date


P.S.

winver opens a new window to display windows version and can be run
from Start button "Run" or from a command window

ver can only be run from a command window or a batch file
 
Steve said:

All that does is repeat the same information when you open the command
line interface. :-)

Presumably, the OP is already running Windows XP (since he is posting to
a Windows XP newsgroup). I believe his question had more to do with how
does he know if it's Home or Pro, 32-bit or 64-bit.

To OP: Why does this have to be ascertained by using the Command Line?
 
All that does is repeat the same information when you open the command
line interface. :-)

Presumably, the OP is already running Windows XP (since he is posting to
a Windows XP newsgroup). I believe his question had more to do with how
does he know if it's Home or Pro, 32-bit or 64-bit.

To OP: Why does this have to be ascertained by using the Command Line?

If you open a dos box and type SET and press enter, you will see a list
of environment variables.

The variable

CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files

Is only true of you have a x64 based system.

Additionally, there is only a mention of x86 in Win 7 if you have the 64
bit version:

ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)

The second one, in the environment variables, indicates that the system
is a x64 bit OS install.
 
Stubbo said:
P.S.

winver opens a new window to display windows version and can be run
from Start button "Run" or from a command window

ver can only be run from a command window or a batch file

If not a "com win" or a batch file, what did the OP mean by "from OS line"?
 
Back
Top