Local $Osversion = @OSVersion
Switch $Osversion
Case "WIN_2008R2"
GUICtrlSetData($Label6, "Microsoft Windows 2008R2")
Case "WIN_7"
GUICtrlSetData($Label6, "Microsoft Windows 7")
Case "WIN_2008"
GUICtrlSetData($Label6, "Microsoft Windows 2008")
Case "WIN_VISTA"
GUICtrlSetData($Label6, "Microsoft Windows Vista")
Case "WIN_2003"
GUICtrlSetData($Label6, "Microsoft Windows 2003")
Case "WIN_XP"
GUICtrlSetData($Label6, "Microsoft Windows XP")
Case "WIN_XPe"
GUICtrlSetData($Label6, "Microsoft Windows XPE")
Case "WIN_2000"
GUICtrlSetData($Label6, "Microsoft Windows 2000")
|