The shutdown of Windows XP is controlled by the shutdown.exe program, located in the Windows \System32 folder
. If you want Windows 2000 to achieve the same effect, you can copy ShutDown.exe to the system directory.
For example, your computer is turned off at 22:00, you can choose "Start → Run", enter "AT 22:00 Shutdown -s", which, "System Shutdown" dialog box will appear in the 22nd computer, 30 seconds by default The countdown to the clock and prompt you to save your job. If you want to shut down in a countdown, you can enter "shutdown.exe -t 3600", which is 60 minutes after 60 minutes, "3600" represents 60 minutes.
After setting the automatic shutdown, if you want to cancel, you can enter "Shutdown -a" in the run. In addition, enter "shutdown -i", you can open the Setup Auto Shutdown dialog and set the Auto Shutdown.
Shutdown.exe's parameters, each has specific purposes, performing each of the effects, such as "-s" means that the local computer is turned off, "- a" means the cancellation operation, and more parameters are listed below Everyone can use it in shutdown.exe.
-f: forcibly shut down the app
-m \\ computer name: Control remote computer
-i: Display graphical user interface, but must be the first option of Shutdown
-L: Logout current user
-r: shutdown and restart
-T Time: Set the shutdown countdown
-c "message content": Enter the message content in the shutdown dialog (not over 127 characters)