Home > Common Problem > What is the programmer's shutdown code?

What is the programmer's shutdown code?

coldplay.xixi
Release: 2020-07-15 14:24:58
Original
14654 people have browsed it

Programmer shutdown code: 1. Scheduled shutdown, enter [at 22:00 Shutdown -s] during operation; 2. Countdown mode shutdown, enter [Shutdown.exe -s -t 3600] during operation ;3. To automatically shut down, enter [shutdown -i].

What is the programmer's shutdown code?

Programmer shutdown code:

1. For example, if your computer wants to shut down at 22:00, you can choose "Start → Run" and enter "at 22:00 Shutdown -s". In this way, the "System Shutdown" dialog box will appear on the computer at 22:00. By default, there is a 30-second countdown and prompts you to save your work.

2. If you want to shut down the computer in a countdown manner, you can enter "Shutdown.exe -s -t 3600", which means it will automatically shut down after 60 minutes, and "3600" means 60 minutes.

3. After setting the automatic shutdown, if you want to cancel it, you can enter "shutdown -a" during operation.

4. Also enter "shutdown -i" to open the automatic shutdown setting dialog box and set automatic shutdown.

5. Each parameter of Shutdown.exe has a specific purpose, and executing each one will produce different effects. For example, "-s" means to shut down the local computer, and "-a" means to cancel the shutdown operation. , more parameters are listed below, you can use them as needed in Shutdown.exe.

  • -f: Force close application

  • -m \\Computer Name: Control Remote Computer

  • -i: Show GUI, but must be the first option of Shutdown

  • -l: Log out the current user

  • -r: Shut down and restart

  • -t Time: Set shutdown countdown

  • -c "Message content": Enter the message content in the shutdown dialog box (cannot exceed 127 characters)

The above is the detailed content of What is the programmer's shutdown code?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:程序员关机代码是什么?
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template