G
Guest
Can anyone tell me why the following gets error messages and won't execute?
rp = "Scripted Restore Point by " & WScript.ScriptName GetObject
("winmgmts:\\.\root\default:Systemrestore").CreateRestorePoint rp, 0, 100
rp = "Scripted Restore Point by " & WScript.ScriptName GetObject
("winmgmts:\\.\root\default:Systemrestore").CreateRestorePoint rp, 0, 100