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

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

  
/* Creates a new system restore point on a computer, specifying that the restore point was created prior to installing a new device driver */
device_driver_install = 10
begin_system_change = 100
strcomputer = "."
objwmiservice = getobject("winmgmts:{impersonationLevel=impersonate}!\\" || strcomputer || "\root\default")
objitem = objwmiservice~get("SystemRestore")
errresults = objitem~createrestorepoint("Scripted restore", device_driver_install, begin_system_change)
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Tue 2022-11-29  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2010-07-16 20:49:16