Jump to content
Macro Express Forums

How can I capture what version of Windows is running on the PC?


Recommended Posts

"If OS Version" and "Get File Version" off the top of my head. I thought there was a way to get the OS version directly but I might be mistaken. Oh yeah... There's usually an environmental var for this. Try %OS%. However this only shows the class of OS. For instance my Vista machine reports "Windows_NT". Also in the registry look to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\". "CurrentVersion" and "ProductName" might be of use to you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...