Search this site
Hosted by A2
Webheads love A2 Hosting because they do PHP5, MySQL5, PostgreSQL 8, cPanel, Ruby on Rails, and SSH/Shell.
I use them because I like dealing with responsive, friendly human beings.
Plans from $2.95/month.
About Ed
Read my bio here.
Want to get in touch?
Use the contact form.
I can't promise a personal reply, but I read every message I receive.

Windows 7 Inside Out now shipping!
Archives
Subscribe (e-mail)



Powered by FeedBlitz



Windows XP includes a command called Shutdown that does much more than its name might suggest. Yes, you can use it to create a shortcut that you can then double-click to turn off your computer instantly. Just create a new shortcut and include this command in it, exactly as typed:

shutdown -s -t 00

The -s switch means “shut down” (you could use -r to shut down and restart). The -t switch defines a waiting time, measured in seconds.

You can also use the command to do other tasks, such as logging off the current user (use the -l switch), or restarting a remote computer on your network (with the -m switch followed by \computername) . Using the -i switch, you can show a graphical user interface (normally, this is a text-based command). You can include the shutdown command as the last line of a batch file or script to restart a computer after performing a maintenance task.

To see the full syntax for the Shutdown command, open a Command Prompt window (Start, Run, type cmd and click OK) and type the command shutdown without any additional switches or arguments.

One Response to “Tip of the day: Make a one-click shutdown shortcut”

Sponsors
Sponsored links