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.
No comments:
Post a Comment