Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - Shutdown Shortcut

Reply
 
Old 10-15-2008   #1 (permalink)
Bradley Thomas


 
 

Shutdown Shortcut

hi

In windows Vista how can I create a shortcut on my desktop to enable me to
shut down?

Regards
Bradley Thomas.


My System SpecsSystem Spec
Old 10-15-2008   #2 (permalink)
Ian D


 
 

Re: Shutdown Shortcut


"Bradley Thomas" <bradley.a.thomas@xxxxxx> wrote in message
news:e801PUxLJHA.1156@xxxxxx
Quote:

> hi
>
> In windows Vista how can I create a shortcut on my desktop to enable me to
> shut down?
>
> Regards
> Bradley Thomas.
In your root directory create a directory called Bat.
Open notepad and enter the following:

@echo off
Shutdown -s -t 2 -f

Save the file in Bat as shutdown.bat.
Right click shutdown.bat and send a shortcut to
the desktop. Then you can change the icon to
one of your choice. Icons are in: windows\
system32\SHELL32.dll.

The t 2 means shutdown in 2 seconds, which
you can change to any value.

If you change the -s in the above batch script
to -r you can create a restart shortcut in the same
manner.

If you want a Hibernate script create a bat file
with the following:

@echo off
C:\windows\system32\rundll32.exe powrprof.dll,SetSuspendState


My System SpecsSystem Spec
Old 10-15-2008   #3 (permalink)


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: Shutdown Shortcut

Hello Bradley,

This will show you how to create a Shutdown shortcut.

Shutdown shortcut

Hope this helps,
Shawn

Quote  Quote: Originally Posted by Bradley Thomas View Post
hi

In windows Vista how can I create a shortcut on my desktop to enable me to
shut down?

Regards
Bradley Thomas.
My System SpecsSystem Spec
Old 10-16-2008   #4 (permalink)
Ramesh Srinivasan, MS-MVP


 
 

Re: Shutdown Shortcut

Create a shortcut with the following Command Line:

shutdown.exe -s -t 0

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog http://www.winhelponline.com/blog


"Bradley Thomas" <bradley.a.thomas@xxxxxx> wrote in message
news:e801PUxLJHA.1156@xxxxxx
Quote:

> hi
>
> In windows Vista how can I create a shortcut on my desktop to enable me to
> shut down?
>
> Regards
> Bradley Thomas.

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
shutdown shortcut Vista General
Shutdown Shortcut behavior when executed System Security
How do you change the target of the shortcut or shortcut command l Vista General
Shutdown Shortcut Vista General
Shutdown shortcut Tutorials


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46