Markter Posted June 4, 2008 Report Share Posted June 4, 2008 I would like to write a macro that captures what version of windows is running and what internet browser. I thought for sure I had seen this somewhere, but now I can not find the commands. Can someone help? Thanks!!! -Mark Quote Link to comment Share on other sites More sharing options...
Cory Posted June 4, 2008 Report Share Posted June 4, 2008 "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. Quote Link to comment Share on other sites More sharing options...
Markter Posted June 4, 2008 Author Report Share Posted June 4, 2008 "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName" works great. and "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Version" works for internet explorer. Thanks for your quick help! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.