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:
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.
@echo off
title shutdown windows tool
shutdown -s -t 3600
pause>nul