A lot of drilling is required to create a restore-point.
This a sample VBscript I found in my research ...
Code is rather sloppy -- not my style without declared variables and "Option Explicit"
sstrDescription variable needs to be handled if InputBox is cancelled.
Q1: Are these "methods" and "objects" kosher in Win7 32/64 and WinXP ?
Q2: what are the "createrestorepoint" arguments, ie, arg2 and arg3
Q3: in VBA what would be the VBEditor DLL reference be ?
. (I use VBA for testing only and if I can install the DLL reference,
. ( maybe there will some function/method help for "createrestorepoint"
Q4: Am I in the appropriate forum ?
This a sample VBscript I found in my research ...
Code:
Set IRP = getobject("winmgmts:\\.\root\default:Systemrestore")
strDescription = InputBox("Restore point description: ","My Restore Point")
MYRP = IRP.createrestorepoint (strDescription, 0, 100)
sstrDescription variable needs to be handled if InputBox is cancelled.
Q1: Are these "methods" and "objects" kosher in Win7 32/64 and WinXP ?
Q2: what are the "createrestorepoint" arguments, ie, arg2 and arg3
Q3: in VBA what would be the VBEditor DLL reference be ?
. (I use VBA for testing only and if I can install the DLL reference,
. ( maybe there will some function/method help for "createrestorepoint"
Q4: Am I in the appropriate forum ?
My Computer
At a glance
XP Pro (x86) | 7 HP (x86) & (x64) | 7 Pro (x64)
- Computer type
- PC/Desktop
- Computer Manufacturer/Model Number
- Toshiba, Lenovo (laptops) + 4 rigs
- OS
- XP Pro (x86) | 7 HP (x86) & (x64) | 7 Pro (x64)