From: Leythos on
In article <eLxh5tH6KHA.5016(a)TK2MSFTNGP02.phx.gbl>, daave(a)example.com
says...
>
> Steve Hayes wrote:
> > ver
>
> 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.

--
You can't trust your best friends, your five senses, only the little
voice inside you that most civilians don't even hear -- Listen to that.
Trust yourself.
spam999free(a)rrohio.com (remove 999 for proper email address)
From: Rick Merrill on
Stubbo of Oz wrote:
> On Fri, 30 Apr 2010 09:48:08 +1000, Stubbo of Oz
> <stubbo(a)invalid.invalid> wrote:
>
>> On Thu, 29 Apr 2010 15:09:01 -0700, Gene.
>> <Gene(a)discussions.microsoft.com> wrote:
>>
>>> Hi folks, do you know how to find out OS edition from OS line?
>>
>> ver
>
>
> 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"?