1.25.2012

Shutdown PC After Conveying a Message

This one is kind of an annoying trick and if used unknowingly can certainly cause problems (am serious). What this trick does is, after conveying a (any) message it shuts down the computer without any confirmation. In order to create the Shutdown file, follow the below mentioned steps:

  • Open Notepad.
  • Paste the following code in it:

@echo off

msg * Its time to get some rest.

shutdown -c “Error! You have to take rest! Byeeeeee” -s

  • Save the file with any name but with .bat extension and close it. For eg. TakeRest.bat

No comments: