Jump to content
Sign in to follow this  
rudi

howto distinguish Vista_32 and Vista_64?

Recommended Posts

rudi

Hi. :)

... and a happy new year!

A quite similar question has been asked here.

One of the answers was to check the result for @ProcessorArch:

"X86", "IA64" or "X64".

XP 32bit on a 32 bit CPU returns "X86"

Vista 64 returns "X64"

Currently Vista Business 64 and XP on 32bit CPU is all I have around here, so may I please ask, what are the return values for:

XP 32bit with a 64bit CPU?

XP 64bit?

Vista 32 on 32bit CPU?

Vista 32 on 64bit CPU?

Who has such installations to check the results, please?

MsgBox(0,"Windows Version","@OSVersion = " & @OSVersion & @lf & _
"@ProcessorArch = " & @ProcessorArch )

Thanks, Rudi


Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Share this post


Link to post
Share on other sites
BrettF
TurionAltec

@OSArch will tell you what OS is running

@CPUArch will tell you what the cpu is capable of. These might be relatively new, I didn't see them listed in an older version.

@OSArch

XP 32bit with a 64bit CPU? X86

XP 64bit? X64

Vista 32 on 32bit CPU? X86

Vista 32 on 64bit CPU? X86

@CPUArch

XP 32bit with a 64bit CPU? X64

XP 64bit? X64

Vista 32 on 32bit CPU? X86

Vista 32 on 64bit CPU? X64

@OSArch is typically what's more important.

I have XP 32 running on a 64 bit CPU and it returned @OSArch as x86 and @CPUArch as x64 using 3.3. I ran an older version of AutoIT and @ProcessorArch returned x86.

@OSVersion will tell you what OS is running:

"WIN_2008", "WIN_VISTA", "WIN_2003", "WIN_XP", "WIN_2000".

@BrettF: Potentially. XP64 has more in common with server 2003 than XP. As an example, XP 32 bit got SP3, but XP-64 still has SP2 because that's the service pack level of Server 2003.

Edited by TurionAltec

Share this post


Link to post
Share on other sites
rudi

@OSArch will tell you what OS is running

@CPUArch will tell you what the cpu is capable of. These might be relatively new, I didn't see them listed in an older version.

Yeahhh! :) after an update to 3.3 on *THAT* PC I see it. (missed to update to the latest Autoit on that PC....)

Thanks!

Regards, Rudi.


Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×