PC Shut Down Timer

How to create a pc shut down timer using batch files
Write the Codes

open a note pad and type the following codes and save it as timer shutdown.bat
.bat is the extension which will enable the program to excute
Note:you can replace 45 seconds with your desired time but make sure you have to enter time in seconda
shutdown.exe -s -t 45
Save It

save it as shutdown timer.bat
and file type choose all files