Jump to content

@OSArch question


Briandr
 Share

Recommended Posts

 
Quote
@OSArch Returns one of the following: "X86", "IA64", "X64" - this is the architecture type of the currently running operating system.
Quote
@OSVersion Returns one of the following: "WIN_10", "WIN_81", "WIN_8", "WIN_7", "WIN_VISTA", "WIN_XP", "WIN_XPe",
    for Windows servers: "WIN_2016", "WIN_2012R2", "WIN_2012", "WIN_2008R2", "WIN_2008", "WIN_2003"".

so you need a combination  of both.

Link to comment
Share on other sites

Hi.

 

iirc, the Macro @OSArch returns the 32/64 bit version of your Windows installation.

 

It should do so, no matter, what @OSVersion you are using, and even the compilation target version for your script shouldn't matter (x86 or x64).

Look up the Macro Reference of Autoit.

 

Regards, Rudi.

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...