Win7 Shutdown with JS Script

  
In Win7 system, we know that you can shut down through the shutdown button, power button, etc. in the start menu. Today Xiaobian wants to share with you a special way to shut down, that is, the ability to shut down through JS script.
The specific operation is as follows:
1, press “ Win + R & rdquo; open & ldquo; run & rdquo; window, enter the "notepad" and press Enter to open Notepad.
2, in the open Notepad document type the following command (new ActiveXObject ("Shell.Application")). ShutdownWindows ().

3. Click on <;file”——“Save As", the file save type is system default, and the file name is changed to JS suffix. For example, shut down .js and save the path to the desktop.

4. On the desktop, you can see a shutdown icon. Right-click on the icon and select “Create Shortcut”. See "Shutdown" on another shortcut on the desktop.
5, on the shortcut icon created by it, right-click on the icon to select "Properties", then in the pop-up properties window, switch to the shortcut tab, enter your shortcut at the shortcut In this way, you can open the shutdown interface.
After this setting, we have a more way to shut down, but this does not allow Win7 to shut down, and friends can freely study how to accelerate through the registry.

Copyright © Windows knowledge All Rights Reserved