Guidance
指路人
g.yi.org
Software / Reginald / Examples / repository / Desktop Management / Basic Computer Information / OS.rex

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
/* Displays information about the operating system and service pack installed on a computer. */
objwmiservice = getobject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
coloses = objwmiservice~execquery("Select * from Win32_OperatingSystem")
DO objos OVER coloses
	SAY "Computer Name:" objos~csname
	SAY "Caption:" objos~caption
	SAY "Version: " objos~version
	SAY "Build Number:" objos~buildnumber
	SAY "Build Type:" objos~buildtype
	SAY "OS Type:" objos~ostype
	SAY "Other Type Description:" objos~othertypedescription
	SAY "Service Pack:" objos~servicepackmajorversion || "." || objos~servicepackminorversion
END
掌柜推荐
 
 
¥1,390.00 ·
 
 
¥287.00 ·
 
 
¥410.00 ·
 
 
¥1,380.00 ·
 
 
¥1,080.00 ·
 
 
¥271.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2010-07-16 20:49:16