Windows Vista Forums
Vista Forums Home Join Vista Forums Tech Publications Windows 7 Forum Vista Tutorials Webcasts Tags

Welcome to Vista Forums we are your forum for Windows Vista help and discussion. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista General

Shutdown Shortcut

Update your Vista Drivers
Reply
 
Thread Tools Display Modes
Old 4 Weeks Ago   #1 (permalink)
Bradley Thomas
Guest


 

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 4 Weeks Ago   #2 (permalink)
Ian D
Guest


 

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 4 Weeks Ago   #3 (permalink)
Brink's Avatar
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP1
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is offline

Re: Shutdown Shortcut

Hello Bradley,

This will show you how to create a Shutdown shortcut.

Shutdown shortcut

Hope this helps,
Shawn

Quote:
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 4 Weeks Ago   #4 (permalink)
Ramesh Srinivasan, MS-MVP
Guest


 

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
Update your Vista Drivers

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shutdown Shortcut behavior when executed tonyolson System Security 13 09-07-2008 09:32 AM
svchost.exe shutdown and Generic Host Shutdown Nathan M. Jones Vista General 1 06-08-2008 07:04 AM
How do you change the target of the shortcut or shortcut command l Catie Vista General 2 08-18-2007 01:10 PM
Shutdown Shortcut Jill Vista General 9 07-11-2007 08:37 AM
Shutdown shortcut Brink Tutorials 1 06-28-2007 12:22 PM


Complimentary Industry Resources

Vista Forums has joined forces with TradePub.com to offer you a new, exciting, and entirely free professional resource. Visit http://vistax64.tradepub.com today to browse our selection of complimentary Industry magazines, white papers, webinars, podcasts, and more across 34 industry sectors. No credit cards, coupons, or promo codes required. Try it today!




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 2005-2008

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 47 48 49 50 51