It is currently June 13th, 2024, 7:29 am

What is the path for shutdown/restart/hibernate?

Get help with creating, editing & fixing problems with skins
ashleyann56
Posts: 4
Joined: June 29th, 2010, 6:36 pm

What is the path for shutdown/restart/hibernate?

Post by ashleyann56 »

I have a Windows 7 64 bit OS. I set up 3 launchers through enigma for shutdown, restart, and hibernate. However I don't think I am using the right path.

Currently I am using

Code: Select all

!Execute ["C:\Windows\System32\shutdown.exe" {-s}]
and

Code: Select all

rundll32.exe powrprof.dll,SetSuspendState
for hibernate, and replace the -s with -r for restart.

When I click the shutdown launcher, I see this (screenshot).

I know I must be using the wrong path but I just can't figure out what it's supposed to be. Can you please help me?

Thank you,

Ashley
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: What is the path for shutdown/restart/hibernate?

Post by Chewtoy »

Sleep/hibernate: %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Log Off: %systemroot%\system32\shutdown.exe -l -t 00
Shutdown: %systemroot%\system32\shutdown.exe -s -t 00
Restart: %systemroot%\system32\shutdown.exe -r -t 00
I don't think, therefore I'm not.
ashleyann56
Posts: 4
Joined: June 29th, 2010, 6:36 pm

Re: What is the path for shutdown/restart/hibernate?

Post by ashleyann56 »

Chewtoy wrote:Sleep/hibernate: %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Log Off: %systemroot%\system32\shutdown.exe -l -t 00
Shutdown: %systemroot%\system32\shutdown.exe -s -t 00
Restart: %systemroot%\system32\shutdown.exe -r -t 00
That works, except for the hibernate. It goes to sleep instead of hibernate.
Thank you very much.