ComputersSoftware

Shutdown the computer through the command line, timer, cancel

It's no secret that in our time the computer makes life much easier. They are convenient to use, and it really helps to save a lot of time on finding information. It is also often used for entertainment. Many people watch TV shows, movies or play games. It often happens like this: you watch a movie on your computer, and after the final credits, you do not want to get up and turn it off. Knowing the special commands, you can avoid these operations. The computer can be put on autocompletion. Shutting down the computer through the command line will make watching movies more comfortable. Here you will learn about the order of actions, as well as about the shortcut that works as a shutdown button.

Shutting down the computer through the command line

Anyone can do this absolutely. The shutdown command will help you with this. First you need to enter the control line itself. To do this, click "Start", hover over "All Programs" and try to find there "Standard". When you click on it, the Windows menu will open before you, which can make it easier to work. One of these programs is the command line. Open it, a black window appears in front of you. This is our desired. With it you can control the computer. You can also turn off the PC or put it on the timer. In order to set it for a certain time, just type the command "Shutdown computer" through the command line. You need to write in English letters the text shutdown. From English it means "close". However, only this command is not enough. It is necessary to put the "-" and the English letter "s" additionally. All the code looks like this: "shutdown-s". After you press Enter, the computer's shutdown button will work.

How to put the computer on auto-shutdown via the command line?

Now we'll talk about how to make the work of your PC more convenient. It would be nice if the computer turns off on its own after some time. This can also be done via the command line. You need to go into it through the "Start" / "All Programs" / "Standard" / "Command Line". Next, in the open black window, you enter the same command as for shutdown - "shutdown-s". But to it you need to add an entry that the computer should be turned off not now, but after a while, that is, add "-t" through a space. This will make it clear to the computer that it should shut down after a certain time. Next, specify the time in seconds that your computer should shut down. Suppose, by writing "shutdown -s -t 10", wait for the shutdown after ten seconds. If you write shutdown -s -t 6000, the computer will be turned off after 100 minutes. We want to remind you that 10 minutes before the completion of the work, a window with the remaining time will appear on the screen. If you want to cancel the shutdown, you can do it. How to implement this action, you can see below in the article.

How can I turn off the computer?

If you needed to put the PC on the timer, but then you changed your mind and do not need this action, at the command line you need to enter the code "shutdown -a". After that, the previous operation will be canceled, and you can continue to work.

Computer Shutdown Tag

Agree, this is convenient if the computer can be turned off from the icon on the desktop. You do not need to go into "start-shutdown" every time. Simply clicking on the icon, you start the shutdown. This can be done independently and it does not take you much time.

How do I create a shortcut?

If you decide to create a shortcut for turning off the computer, you need to perform some actions. You will succeed if you follow the instructions. To do this, from the empty seat on the desktop, right-click to bring up the context menu. In it, select "Create". Then click on the "shortcut". A simple icon will be created on your desktop. After its formation the window with a question "For what element it is necessary to create a label will pop up?". In it there will be a line for input with the name "specify the location of the object". In it, you need to write a text similar to the control words to turn off the computer through the command line. But it will be slightly different. The command will look like this: Shutdown.exe -s -t 00. After entering the command, press Enter. Next you have to name the folder. You can call it "turning off the computer" or in another way - as it will be convenient or as you like. Click "Finish" and the folder is created. Also you can change the icon of this shortcut. Click on it with the right mouse button, then select "Properties". Go to the "Label" section and from the bottom you will see "Change icon". Click, select the one you like, click "Save" and "Done". Place this symbol separately from the others so that you do not accidentally turn off the PC later. Hopefully, the article helped you understand what a shutdown command is, and how to create a shortcut for that.

Similar articles

 

 

 

 

Trending Now

 

 

 

 

Newest

Copyright © 2018 en.unansea.com. Theme powered by WordPress.