Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Batch file for hibernate Windows 7  (Read 10203 times)

0 Members and 1 Guest are viewing this topic.

.:astroboy:.

  • Guest
Batch file for hibernate Windows 7
« on: January 17, 2012, 08:41:25 AM »
Hi I am operating Win 7 64bit

I want to hibernate my pc by executing a single file.

I tried creating shortcut but that didnt work for some reason.Dont know why.
Code: [Select]
    C:\Windows\System32\rundll32.exe powrprof.dll, SetSuspendState 0,1,0

I was wondering if .bat file can be a solution?

I dont know how to code batch file.

Can anyone help me ?
Thanks in advance



Salmon Trout

  • Guest
Re: Batch file for hibernate Windows 7
« Reply #1 on: January 17, 2012, 11:52:46 AM »
Try it in a batch file. All you need is what you posted.


.:astroboy:.

  • Guest
Re: Batch file for hibernate Windows 7
« Reply #2 on: January 17, 2012, 10:13:22 PM »
sorry i thought its a programming thing