O'Reilly Hacks
oreilly.comO'Reilly NetworkSafari BookshelfConferences Sign In/My Account | View Cart   
Book List Learning Lab PDFs O'Reilly Gear Newsletters Press Room Jobs  



Shutdown via shortcut on windows xp
This allows a single click in the quick start bar to shutdown your system

Contributed by:
Unknown User anonymous2
[02/05/04 | Discuss (2) | Link to this hack]

Start by creating a shortcut in a new folder somewhere out of the way. When prompted to enter the address of the application type the following:
%windir%\system32\shutdown.exe
This links to the shutdown application. There are, of course, many suffixes which be added to generate the desired result.
-f -s -t 10 -c "bye" causes the shortcut to force shutdown the system after 10 seconds with the message 'bye'.
by replacing the -s with a -r this restarts your system. Replacing it with -l logoff the user instantly. To open the network shutdown gui the suffix -i can be used on its own.


O'Reilly Home | Privacy Policy

© 2007 O'Reilly Media, Inc.
Website: | Customer Service: | Book issues:

All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.