02 August 2011

Shut down your computer with notepad / batch file

f you want to shut down your computer forcefully after displaying a message, just follow the trick.

  • Open notepad.
  • Copy the code given below,
@echo off

msg * Its time to get some rest.

shutdown -c “Error!! You have to take rest! Byeeeeee” -s
Save the file with .bat extension. That’s it.

    No comments:

    Post a Comment