Windows Shutdown Command

Friday, February 25, 2011

It's easy to shutdown windows computer with CMD command. you just need simple codes into command prompt (CMD) screen, or you can make it as shutdown tool with .bat application, the following is the command code :
shutdown -s -t 3600 -c "computer will shutdown automatically"
explanation
Shutdown : to shudown computer
-s : set shutdown
-t 3600 : set the time-out period before shutdown to 3600 seconds.
-c "comment" : set or display comment on CMD screen.

Code to make .bat application:

@echo off
title shutdown windows tool
shutdown -s -t 3600
pause>nul
it's basic CMD shutdown code. I hope it's useful to make windows shutdown tool with CMD command. I'll give the expert tutor for automatic shutdown computer next time.