bobheart Posted July 12, 2004 Share Posted July 12, 2004 Anyone know how to do a system restore point with autoit ? I can do it vbs but like to have an exe to do it with . Set Args = wscript.Arguments If Args.Count() > 0 Then RpName = Args.item(0) Else RpName = "Vbscript" End If Set obj = GetObject("winmgmts:{impersonationLevel=impersonate}!root/default:SystemRestore") If (obj.CreateRestorePoint(RpName, 0, 100)) = 0 Then wscript.Echo "Success" Else wscript.Echo "Failed" End If Link to comment Share on other sites More sharing options...
bobheart Posted July 12, 2004 Author Share Posted July 12, 2004 Anyone happen to know this ? Link to comment Share on other sites More sharing options...
randd Posted July 12, 2004 Share Posted July 12, 2004 Anyone happen to know this ?This might be useful.Sorry that's about all I can offer you. Raoul S. Duke: Few people understand the psychology of dealing with a highway traffic cop. Your normal speeder will panic and immediately pull over to the side. This is wrong. It arouses contempt in the cop-heart. Make the bastard chase you. He will follow. Link to comment Share on other sites More sharing options...
bobheart Posted July 12, 2004 Author Share Posted July 12, 2004 Ok thanks . Link to comment Share on other sites More sharing options...
Budman Posted August 26, 2004 Share Posted August 26, 2004 I downloaded a program written to create system restore points. It has a silent run option and should work fine. I just found it and haven't had time for testing. Grab it from Neowin 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