i2i8 Posted August 29, 2014 Share Posted August 29, 2014 If @OSVersion = "WIN_8" or @OSVersion = "WIN_2012R2" Then ... EndIf However, I found the script can't be executed.If the current system is a Server 2012R2, which parameters to use? Link to comment Share on other sites More sharing options...
UEZ Posted August 29, 2014 Share Posted August 29, 2014 Try this: #include <MsgBoxConstants.au3> If @OSBuild = 9200 And @OSVersion = "WIN_2012R2" Then Exit MsgBox(BitOR($MB_ICONERROR, $MB_TOPMOST), "ERROR", "This operating system is not supported!", 30) Br, UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ 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