Shutdown schedule on Windows - 30/03/2025
Follow these instructions to have a button on your desktop that when
double clicked, asks how many minutes before shutting down, and after the
inputted time shuts down the computer.
Step 0:
Open file explorer. Ensure that "Show File name extensions" is
enabled. Refer to below image.
Step 1:
Create a file called shutdown_scheldule.txt
Step 2:
Open the file. If asked which program to open it with, use notepad.
Step 3:
Paste the following content into the file:
@echo off
set /p minutes=Enter the number of minutes until shutdown:
set /a seconds=%minutes% * 60
shutdown -s -t %seconds%
Step 4:
Save the file (CTRL + S) and exit it.
Step 5:
Rename the .txt part at the end of the file to .cmd
Step 6:
Double click the file and it should open a "terminal". Type in
the amount of minutes until shutdown and then click
ENTER. This should be it!
Whenever you need to schedule your computer to shutdown,
all you need to do is double click this file and enter the amount of time!
Thank you for reading to the end, and if you have any questions or
comments don't hesitate to contact me at makrypodisc@hotmail.com