Single Click Shutdown

Operating System Tips, Tricks and Hack which include Windows 10 and others, CentOS, Linux, MAC OS, iOS
Post Reply
ar
Ultimate Contributor
Ultimate Contributor
Posts: 6666
Joined: Feb 17, 2007
Location: Pakistan, Lahore
Contact:

Single Click Shutdown

Post by ar » Oct 14, 2008 Views: 1821

Here’s the updated version of the popular shutdown shortcut for WindowsXP. Just right-click onto an empty area of the desktop then select Newthen Shortcut from the menu that appears. Click the Browse button andnavigate your way to: C:\Windows\System32\Shutdown.exe.

ClickNext, give the shortcut a name and click Finish. Now right-click thenew shortcut, select Properties and in the Target box, add the commandline ‘switch’ -l (to log off), -s (to shut down) or -r (to reboot). Abasic shutdown shortcut command line should look like this:

C:\Windows\System32\shutdown.exe -s

If you want to add a 3 second delay to the Shutdown then add the ‘-t xx’ switch, thus:

C:\Windows\System32\shutdown.exe -s -t 03

Toavoid mistakes simply copy and paste the command into the Target box.Your can also add own your own comments or text in the Shutdown boxwith a -c “Your textâ€￾ switch.

swakes
Wondering
Wondering
Posts: 19
Joined: Jul 05, 2008

Post by swakes » Oct 14, 2008

thanks for the post.. very useful

Post Reply

Return to “Operating System Tricks”