This batch file is constructed in a way to shutdown the computer in use. You can customize it in a few ways. First, here are the commands:
shutdown -s -f -t 120 -c “hahah”
The -s after shutdown is for the command to shutdown and not log-off or anything else. The -f will force shutdown any open programs. You can edit that out if you wish not to allow that. The -t is for the time it takes before the computer will be shutdown. You then put a time (in seconds) you wish for this to occur. The -c is for a message, that’s then enclosed in quotes. You should know by now (after reading previous posts) that to run this file you need to type it in notepad and save it as a .bat file.
Post a Comment