Force Shutdown Windows XP Using Shortcut

| Posted by watashii | Filed under Programming

forceshutdown

Here is a handy way to force shutdown your Windows XP machine using a shortcut.  To create this shortcut, open Notepad, and add the following line of text, then save it with a .bat extension.

shutdown.exe -f -s -t 5 -c "bye"

Where:
-s  shutdown (use -r for restart)
-f  force shutdown
-t  time delay (5 secs)
-c  prompted comment, "bye"

[shutdown.bat]  32 bytes

Share:

  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Print
  • email

Related Posts:

  1. Abort Windows Shutdown Using Shortcut

Tags: , ,

One Response to “Force Shutdown Windows XP Using Shortcut”

  1. blog.watashii » Blog Archive » Abort Windows Shutdown Using Shortcut Says:
    May 1st, 2009 at 12:41 pm

    [...] follows on from the previous post on how to force shutdown your Windows machine using a shortcut.  This post shows how to cancel / stop Windows from shutting down after launching [...]

Leave a Reply