Abort Windows Shutdown Using Shortcut
| Posted by watashii | Filed under Programming
This 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 the shutdown command (eg by accident).
To create this shortcut, open Notepad, and add the following line of text, then save it with a .bat extension. You need to hit the shortcut quickly if you want to abort in time.
shutdown.exe -a
Where:
-a abort shutdown
[abort_shutdown.bat] 32 bytes
Tags: abort, shortcut, shutdown, windows
Force Shutdown Windows XP Using Shortcut
| Posted by watashii | Filed under Programming
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