SHUT DOWN THE COMPUTER AFTER SHOWING A MESSAGE USING NOTEPAD

SHUT DOWN THE COMPUTER AFTER SHOWING A MESSAGE USING NOTEPAD

        •    Open the notepad
        •    Copy and paste the following code

         @echo off
           msg * Its time to take some rest.
           shutdown -c “Byeeeeeeeeeeeeee” –s

        •    Save the file with any name but with .bat extension eg. shut.bat
        •    Close it
        •    Now if someone opens this file it will convey the message and
             forcefully  shutdown the computer.

0 comments:

Post a Comment

 
Copyright © PC Tricks