rudi Posted January 8, 2009 Share Posted January 8, 2009 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! Link to comment Share on other sites More sharing options...
BrettF Posted January 9, 2009 Share Posted January 9, 2009 @OSVersion = WIN_2003 @ProcessorArch = X64 Is that what XP 64 is meant to return? Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
TurionAltec Posted January 9, 2009 Share Posted January 9, 2009 (edited) @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.@OSArchXP 32bit with a 64bit CPU? X86XP 64bit? X64Vista 32 on 32bit CPU? X86Vista 32 on 64bit CPU? X86@CPUArchXP 32bit with a 64bit CPU? X64XP 64bit? X64Vista 32 on 32bit CPU? X86Vista 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 January 9, 2009 by TurionAltec Link to comment Share on other sites More sharing options...
rudi Posted January 12, 2009 Author Share Posted January 12, 2009 @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! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now