dimchik Posted March 5, 2008 Share Posted March 5, 2008 (edited) I am trying to identify windows xp version ether 64 bit or 32 bit or windows 2003 Edited March 5, 2008 by dimchik Link to comment Share on other sites More sharing options...
Xenobiologist Posted March 5, 2008 Share Posted March 5, 2008 Have a look at macros in helpfile. Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
dimchik Posted March 5, 2008 Author Share Posted March 5, 2008 They Identifying Windows XP 64 bit as Windows 2003 Link to comment Share on other sites More sharing options...
Xenobiologist Posted March 5, 2008 Share Posted March 5, 2008 Hi, and this? $wbemFlagReturnImmediately = 0x10 $wbemFlagForwardOnly = 0x20 $colItems = "" $strComputer = "localhost" $Output="" $Output = $Output & "Computer: " & $strComputer & @CRLF $Output = $Output & "==========================================" & @CRLF $objWMIService = ObjGet("winmgmts:\\" & $strComputer & "\root\CIMV2") $colItems = $objWMIService.ExecQuery("SELECT * FROM Win32_SystemOperatingSystem", "WQL", _ $wbemFlagReturnImmediately + $wbemFlagForwardOnly) If IsObj($colItems) then For $objItem In $colItems $Output = $Output & "GroupComponent: " & $objItem.GroupComponent & @CRLF $Output = $Output & "PartComponent: " & $objItem.PartComponent & @CRLF $Output = $Output & "PrimaryOS: " & $objItem.PrimaryOS & @CRLF if Msgbox(1,"WMI Output",$Output) = 2 then ExitLoop $Output="" Next Else Msgbox(0,"WMI Output","No WMI Objects Found for class: " & "Win32_SystemOperatingSystem" ) Endif Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times 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