I would like to say that I understood this, but I was just looking for it. The code you need is
%windir%System32rundll32.exe powrprof.dll,SetSuspendState
If you run start → run and then enter it, it should work. Therefore, if you included hibernate in poweroptions, this should also work in a batch file.
Hope this helped you
Edit: Postscript, click the white little V under the arrows (to the left of this answer) to accept the answer;)
source share