Prev: How to skip password when wake up from hibernating mode?
Next: resetting default folder options - XP Home (SP3)
From: Eric on 22 Apr 2010 21:46 Does anyone have any suggestions on how to code batch file to hibernate XP with SP3? Thanks in advance for any suggestions Eric
From: VanguardLH on 22 Apr 2010 23:21 Eric wrote: > Does anyone have any suggestions on how to code batch file to hibernate XP > with SP3? To go into Hibernate mode (provided you enabled it in Power Options): %windir%\system32\rundll32.exe powrprof.dll,SetSuspendState If you want to go into Standby mode instead of Hibernate: powercfg -h off %windir%\system32\rundll32.exe powrprof.dll,SetSuspendState powercfg -h on This turns off hibernation mode, puts the host into a suspend state (which will be standby power mode), and reenables hibernate mode afterward. See: http://support.microsoft.com/kb/555569 All that above was found just by Google searches. It still works.
From: Eric on 23 Apr 2010 00:14 I would like to apply hibernate function instead of shutdown function, as shown below, but I would like to keep this line as a reference for selections. Do you have any suggestions on what to add in front of this line? so window will recognize it as a comment, not a command. Thank you very much for any suggestions Eric C:\WINDOWS\system32\shutdown.exe -s -t 01 "VanguardLH" wrote: > Eric wrote: > > > Does anyone have any suggestions on how to code batch file to hibernate XP > > with SP3? > > To go into Hibernate mode (provided you enabled it in Power Options): > > %windir%\system32\rundll32.exe powrprof.dll,SetSuspendState > > If you want to go into Standby mode instead of Hibernate: > > powercfg -h off > %windir%\system32\rundll32.exe powrprof.dll,SetSuspendState > powercfg -h on > > This turns off hibernation mode, puts the host into a suspend state (which > will be standby power mode), and reenables hibernate mode afterward. > > See: http://support.microsoft.com/kb/555569 > > All that above was found just by Google searches. It still works. > . >
From: BillyBob on 23 Apr 2010 02:38 Eric, It seems that you just absolutely refuse to use Google to search for answers. I can only assume you still like to be spoon fed. Even VanguardLH mentioned that you could have found all the information you need using Google. Well, he was nice and provided you with the answer and then recommended Google. I, on the other hand, will recommend Google and *not* give you the answer. So, Google "how to add a comment in a batch file" and you will have your answer in about 120 microseconds. "Eric" <Eric(a)discussions.microsoft.com> wrote in message news:B4042B0D-5D57-46AF-B3E2-E151AE3430F9(a)microsoft.com... >I would like to apply hibernate function instead of shutdown function, as > shown below, but I would like to keep this line as a reference for > selections. > Do you have any suggestions on what to add in front of this line? so > window > will recognize it as a comment, not a command. > Thank you very much for any suggestions > Eric > > C:\WINDOWS\system32\shutdown.exe -s -t 01 > > > > "VanguardLH" wrote: > >> Eric wrote: >> >> > Does anyone have any suggestions on how to code batch file to hibernate >> > XP >> > with SP3? >> >> To go into Hibernate mode (provided you enabled it in Power Options): >> >> %windir%\system32\rundll32.exe powrprof.dll,SetSuspendState >> >> If you want to go into Standby mode instead of Hibernate: >> >> powercfg -h off >> %windir%\system32\rundll32.exe powrprof.dll,SetSuspendState >> powercfg -h on >> >> This turns off hibernation mode, puts the host into a suspend state >> (which >> will be standby power mode), and reenables hibernate mode afterward. >> >> See: http://support.microsoft.com/kb/555569 >> >> All that above was found just by Google searches. It still works. >> . >>
From: Asger-P on 23 Apr 2010 02:47 Hi Eric Den 23.04.2010 kl. 07:14 skrev Eric <Eric(a)discussions.microsoft.com>: REM C:\WINDOWS\system32\shutdown.exe -s -t 01 or :: C:\WINDOWS\system32\shutdown.exe -s -t 01 Best regards Asger-P
|
Next
|
Last
Pages: 1 2 3 Prev: How to skip password when wake up from hibernating mode? Next: resetting default folder options - XP Home (SP3) |