TechSpot

Monday, August 17, 2009

Batch – Shutdown Computer

by Your Name 0 comments



Share this post:
Design Float
StumbleUpon
Reddit

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.

Comments 0 comments

My Name Here
A short description here
youremail@here.com

Subscribe feeds via e-mail
Subscribe in your preferred RSS reader

Subscribe feeds rss Recent Entries

Advertise on this site Sponsored links

Categories

Sponsored Links

My Photos on flickr

Subscribe feeds rss Recent Comments

Technorati

Technorati
My authority on technorati
Add this blog to your faves