Shut down a computer 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


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s