Having failed to find a backup package that will do this, I am
investigating using a script to do it for me. I have found a VBScript
"command" that was said to do the hibernate function I'm looking for,
as follows:
Set objshell = CreateObject("Wscript.Shell")
objshell.Run "rundll32.exe PowrProf.dll SetSuspend State Hibernate"
but when I run this script, I get an error box titled "RUNDLL" with
the text:
Error in PowrProf.dll
Missing entry:SetSuspendState
and, of course, nothing else happens.
Can anyone help me solve this problem?
> objshell.Run "rundll32.exe PowrProf.dll SetSuspendState Hibernate"