Saturday, August 5, 2006

Hibernating/suspending from the command line on Windows XP


rundll32 powrprof.dll,SetSuspendState

Whether it hibernates or suspends depends on Control Panel power options.


if (document.getElementById("idAttachmentsTable").rows.length == 0) document.getElementById("idAttachmentsRow").style.display='none';

Hibernating from the command line in Windows Vista

shutdown /h
Jeffrey Ting Jeffrey Ting on Facebook Jeffrey Ting on Spock Jeffrey Ting on Plaxo Jeffrey Ting on Spoke Jeffrey Ting on LinkedIn