How to find out OS edition from command line?

S

Stubbo of Oz



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
 
D

Daave

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?
 
L

Leythos

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.
 
R

Rick Merrill

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"?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top