Guidance
指路人
g.yi.org
Software / Reginald / Examples / repository / Desktop Management / System Restore / Values.rex

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

  
/* Displays the current system restore configuration settings on a computer */
strcomputer = "."
objwmiservice = getobject("winmgmts:{impersonationLevel=impersonate}!\\" || strcomputer || "\root\default")
colitems = objwmiservice~execquery("Select * from SystemRestoreConfig")
DO objitem OVER colitems
	SAY "Disk Percent:" objitem~diskpercent
	SAY "Global Interval (in seconds):" objitem~rpglobalinterval 
	SAY "Life Interval (in seconds):" objitem~rplifeinterval
	IF objitem~rpsessioninterval = 0 THEN SAY "Session Interval: Feature not enabled." 
	ELSE SAY "Session Interval (in seconds):" objitem~rpsessioninterval
END

掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Tue 2022-11-29  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2010-07-16 20:49:16