Shutdown system using CMD

Create a text file, type the below code.


Type  SHUTDOWN /S /F /T number-in-seconds .

/F is for force shutdown. 

Replace number-in-seconds with how long from now (in seconds) you want the computer to shut down. For example, if you want the computer to turn off in 30 minutes, you'd type SHUTDOWN /S /T 1800



Save the file as filename.cmd. 

Comments

Popular posts from this blog

How are software engineers earning salary packages of 25 LPA in India?

Highest Dividend paying Indian Stocks NSE - 2021 Analysis

Creating Hotspot Using CMD