Shutdown PC At a Specific Time

Shutdown PC At Specific Time
Hello everyone,
This is a post for "Shutting down PC at a specific time that you set "
Continue reading for more info about the amaizing post ahead,

Coding Follows,

    @echo off
  title SHUTDOWN
  color 8f
  mode 50,30
  echo Enter time (in minutes )to shutdown your PC
  set/p time=
  set/a time=%time%*60
  shutdown -s -t %time%
  echo Type NO if you want to cencle shutdown
  set/p var=
  if %var%=="no" goto :1

  shutdown -a

  Save this file as whatever.bat
  Through this program you can shutdown your PC at the time you       want.