Thomas said:
I would like to issue the standby mode via and icon on my desktop.
I set one up for shutdown
I do not know the comand line program and parameters to issue a
stanby
I drive around with my laptop and I would like to place it in
stanby mode when I leave the van would be easier with and icon just
click
The simplest/most reliable way to get to standby mode is to convert your
PC's power button into a button that goes directly there...
In the Address bar in any Windows Explorer or Internet Explorer window, type
control panel\power options and press <Enter>.
Click the Advanced tab in the Power Options Properties dialog box.
Under Power Buttons, click the drop-down list labeled 'When I press the
power button on my computer' and choose Stand by...
If you're a laptop user, you're likely to see additional options, such as a
drop-down list labeled 'When I close the lid of my portable computer' that
lets you send the system into standby with that simple gesture...
A commandline/shortcut possibility:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
The caveat is that the system will Hibernate unless you disable it.
Control Panel --> Power Options --> Hibernate (tab) --> uncheck "Enable
hibernation".
If Hibernate is disabled then this command will cause the system to go into
Stand By.